Searched hist:"787977 c3afe9d951a088a1f12959b00d8343a18d" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/include/arch/aarch64/ |
| H A D | arch_helpers.h | 787977c3afe9d951a088a1f12959b00d8343a18d Wed Apr 16 16:32:01 UTC 2025 Andre Przywara <andre.przywara@arm.com> fix(cpufeat): improve xpaci wrapper
Older toolchains seem to have trouble parsing a directive on the same line as an instruction, so they choke on the separating semicolon:
/tmp/ccBwXW8I.s:93: Error: unknown architecture `armv8.3-a;'
Put the .arch directive on a line of its own, so that the assembler can digest it.
Drop the comment on the way: xpaci is a FEAT_PAUTH instruction not encoded in the hint space, so *every* toolchain needs to be allowed ARMv8.3 level instructions, not just older ones.
Also we do not need to force x0 as the register, the compiler will pick it automatically, so drop the register variable.
Change-Id: I0d4d74bcdac04aa86c565ad0455f62adf81febb5 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|