summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2022-06-06 14:45:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2022-06-06 14:45:34 +0000
commit603e5c8ba7257483c162cabb06eb6f79096429b6 (patch)
tree1b11cc7a2f3b27c6c929b791c4fac3c7a84d4d15 /elf
parent7df596a58cdfa763924487b8c275269de3497304 (diff)
downloadglibc-603e5c8ba7257483c162cabb06eb6f79096429b6.tar.gz
glibc-603e5c8ba7257483c162cabb06eb6f79096429b6.tar.xz
glibc-603e5c8ba7257483c162cabb06eb6f79096429b6.zip
Add PT_AARCH64_MEMTAG_MTE from Linux 5.18 to elf.h
Linux 5.18 defines a new AArch64 ELF segment type
PT_AARCH64_MEMTAG_MTE; add it to elf.h.

Tested with build-many-glibcs.py for aarch64-linux-gnu.
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 1c3d5ce8a2..2b5c2c5fb6 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2902,6 +2902,9 @@ enum
 #define R_AARCH64_TLSDESC      1031	/* TLS Descriptor.  */
 #define R_AARCH64_IRELATIVE	1032	/* STT_GNU_IFUNC relocation.  */
 
+/* MTE memory tag segment type.  */
+#define PT_AARCH64_MEMTAG_MTE	(PT_LOPROC + 2)
+
 /* 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)