about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-04-29 14:27:32 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-11-22 14:31:25 +0000
commit61de2a5e8450060e014a61e9ff6ce88d2501ed97 (patch)
tree877aa287f607cd14af85c9d22ce48b64071d8a2f
parent56d37dff3890e9ad65473ce0fd83965e1823f10c (diff)
downloadglibc-61de2a5e8450060e014a61e9ff6ce88d2501ed97.tar.gz
glibc-61de2a5e8450060e014a61e9ff6ce88d2501ed97.tar.xz
glibc-61de2a5e8450060e014a61e9ff6ce88d2501ed97.zip
elf: add EF_AARCH64_CHERI_PURECAP
-rw-r--r--elf/elf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 1eff0704d4..55809e941e 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2906,6 +2906,9 @@ enum
 /* MTE memory tag segment type.  */
 #define PT_AARCH64_MEMTAG_MTE	(PT_LOPROC + 2)
 
+/* Processor specific flags for the ELF header e_flags field.  */
+#define EF_AARCH64_CHERI_PURECAP 0x00010000
+
 /* AArch64 specific values for the Dyn d_tag field.  */
 #define DT_AARCH64_BTI_PLT	(DT_LOPROC + 1)
 #define DT_AARCH64_PAC_PLT	(DT_LOPROC + 3)