]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do no use .cfi_negate_ra_state within the assembly on Arm64
authorTino Reichardt <milky-zfs@mcmilk.de>
Mon, 15 Apr 2024 20:56:10 +0000 (22:56 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Apr 2024 20:56:10 +0000 (13:56 -0700)
commit90ba19eb7b81f0225e63bedfb902000d23383921
tree8c9a34a6633fec59f760bd294cd4af999f666e05
parentc6da985e28d7071b187bd928e7fd41ba9e9f6aa7
Do no use .cfi_negate_ra_state within the assembly on Arm64

Compiling openzfs on aarch64 with gcc-8 and gcc-9 is failing currently.
See issue #14965 for deeper context.

On platforms without pointer authentication, .cfi_negate_ra_state can be
defined to a no-op:
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/aarch64-tdep.c#l1413

I have tested this on Arm64 FreeBSD 13.2 and AlmaLinux-8.

Reviewed-by: Andrew Turner <andrew.turner4@arm.com>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #14965
Closes #15784
module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S
module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S