Inclusion of "arm_acle.h" would requires stdint.h that may not be available during first stage of cross-compilation.
libgcc/ChangeLog: * config/aarch64/aarch64-unwind.h (_CHKFEAT_GCS): Add. --- Regression tested on aarch64-unknown-linux-gnu and no regressions have been found. Is this OK for trunk? Thanks, Yury --- libgcc/config/aarch64/aarch64-unwind.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libgcc/config/aarch64/aarch64-unwind.h b/libgcc/config/aarch64/aarch64-unwind.h index 85468f9685e..d11753a0e03 100644 --- a/libgcc/config/aarch64/aarch64-unwind.h +++ b/libgcc/config/aarch64/aarch64-unwind.h @@ -29,7 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "ansidecl.h" #include <stdbool.h> -#include <arm_acle.h> #define AARCH64_DWARF_REGNUM_RA_STATE 34 #define AARCH64_DWARF_RA_STATE_MASK 0x1 @@ -180,7 +179,7 @@ aarch64_demangle_return_addr (struct _Unwind_Context *context, } /* GCS enable flag for chkfeat instruction. */ - +#define _CHKFEAT_GCS 1 /* SME runtime function local to libgcc, streaming compatible and preserves more registers than the base PCS requires, but we don't rely on that here. */ -- 2.39.5