zfs: unbreak aarch64 build with non-gcc compilers

Workaround until a permanent fix comes from vendor
This commit is contained in:
Martin Matuska 2024-04-17 01:34:25 +02:00
parent 2fda3ab0ac
commit b9dee1dca2
2 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@
#if defined(__aarch64__)
/* make gcc <= 9 happy */
#if LD_VERSION >= 233010000
#if !defined(LD_VERSION) || LD_VERSION >= 233010000
#define CFI_NEGATE_RA_STATE .cfi_negate_ra_state
#else
#define CFI_NEGATE_RA_STATE
@ -2066,4 +2066,4 @@ zfs_blake3_hash_many_sse2:
.size zfs_blake3_hash_many_sse2, .Lfunc_end3-zfs_blake3_hash_many_sse2
.cfi_endproc
.section ".note.GNU-stack","",@progbits
#endif
#endif

View file

@ -34,7 +34,7 @@
#if defined(__aarch64__)
/* make gcc <= 9 happy */
#if LD_VERSION >= 233010000
#if !defined(LD_VERSION) || LD_VERSION >= 233010000
#define CFI_NEGATE_RA_STATE .cfi_negate_ra_state
#else
#define CFI_NEGATE_RA_STATE
@ -2403,4 +2403,4 @@ zfs_blake3_hash_many_sse41:
.size zfs_blake3_hash_many_sse41, .Lfunc_end3-zfs_blake3_hash_many_sse41
.cfi_endproc
.section ".note.GNU-stack","",@progbits
#endif
#endif