zfs: unbreak aarch64 build with non-gcc compilers
Workaround until a permanent fix comes from vendor
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user