mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Fix check for .cfi_negate_ra_state on aarch64
Checking for LD_VERSION in unreliable as not all distros define it on the compiler's preprocessor. Explicitly check it via autoconf. This fixes support for Ubuntu 18.04 on arm64. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Juhyung Park <qkrwngud825@gmail.com> Closes #18262
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
|
||||
#if defined(__aarch64__)
|
||||
|
||||
/* make gcc <= 9 happy */
|
||||
#if !defined(LD_VERSION) || LD_VERSION >= 233010000
|
||||
/* check for .cfi_negate_ra_state assembler support */
|
||||
#if defined(HAVE_AS_CFI_PSEUDO_OP)
|
||||
#define CFI_NEGATE_RA_STATE .cfi_negate_ra_state
|
||||
#else
|
||||
#define CFI_NEGATE_RA_STATE
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
|
||||
#if defined(__aarch64__)
|
||||
|
||||
/* make gcc <= 9 happy */
|
||||
#if !defined(LD_VERSION) || LD_VERSION >= 233010000
|
||||
/* check for .cfi_negate_ra_state assembler support */
|
||||
#if defined(HAVE_AS_CFI_PSEUDO_OP)
|
||||
#define CFI_NEGATE_RA_STATE .cfi_negate_ra_state
|
||||
#else
|
||||
#define CFI_NEGATE_RA_STATE
|
||||
|
||||
Reference in New Issue
Block a user