HomeFreeBSD

Do no use .cfi_negate_ra_state within the assembly on Arm64

Description

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

Details

Provenance
Tino Reichardt <milky-zfs@mcmilk.de>Authored on Apr 15 2024, 8:56 PM
GitHub <noreply@github.com>Committed on Apr 15 2024, 8:56 PM
Parents
rGc6da985e28d7: Add the BTI elf note to the AArch64 SHA2 assembly
Branches
Unknown
Tags
Unknown