diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-04-01 09:25:47 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-05-21 09:55:43 +0100 |
commit | 03acbc1f71800a34dfbf4371c3443b1f1c73a4b9 (patch) | |
tree | 611f6ff493fee2589c8244458726debe510cc637 /elf | |
parent | 7787a35fd0ac1d42a05d3a45223158efa54d87d7 (diff) | |
download | glibc-03acbc1f71800a34dfbf4371c3443b1f1c73a4b9.zip glibc-03acbc1f71800a34dfbf4371c3443b1f1c73a4b9.tar.gz glibc-03acbc1f71800a34dfbf4371c3443b1f1c73a4b9.tar.bz2 |
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 <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf')
-rw-r--r-- | elf/elf.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |