Commit 270750f
committed
CONC-774 fixup: Always emit BTI J
In commit e2e5113 an incorrect
numeric encoding was added that is for the instruction BTI, not BTI J.
According to https://www.spinics.net/lists/arm-kernel/msg1041915.html
the two most significant bits of the least significant octet of the
instruction word for BTI are [J][C] flags.
Because a newer version of GCC could emit code for an older assembler,
we had better always use the numeric encoding on GCC. In clang and
derivatives, the assembler is built-in.1 parent c80f221 commit 270750f
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
642 | | - | |
643 | | - | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
644 | 652 | | |
645 | | - | |
| 653 | + | |
646 | 654 | | |
647 | 655 | | |
648 | 656 | | |
| |||
0 commit comments