From: Szabolcs Nagy Date: Wed, 1 Apr 2020 08:25:47 +0000 (+0100) Subject: elf.h: add aarch64 property definitions X-Git-Tag: glibc-2.32~298 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03acbc1f71800a34dfbf4371c3443b1f1c73a4b9;p=thirdparty%2Fglibc.git elf.h: add aarch64 property definitions These property values are specified by the AArch64 ELF ABI and binutils can create binaries marked with them. Reviewed-by: Adhemerval Zanella --- diff --git a/elf/elf.h b/elf/elf.h index 5b5ce37d9e8..197b557d15a 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -1319,6 +1319,12 @@ typedef struct /* Application-specific semantics, hi */ #define GNU_PROPERTY_HIUSER 0xffffffff +/* AArch64 specific GNU properties. */ +#define GNU_PROPERTY_AARCH64_FEATURE_1_AND 0xc0000000 + +#define GNU_PROPERTY_AARCH64_FEATURE_1_BTI (1U << 0) +#define GNU_PROPERTY_AARCH64_FEATURE_1_PAC (1U << 1) + /* The x86 instruction sets indicated by the corresponding bits are used in program. Their support in the hardware is optional. */ #define GNU_PROPERTY_X86_ISA_1_USED 0xc0000000