summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-03-26 09:22:12 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-05-21 09:55:43 +0100
commit7787a35fd0ac1d42a05d3a45223158efa54d87d7 (patch)
treeeb93ce11f4d672ac7dd1d191681eb92cbab1c6f3
parente3022f4bcd69eb9f103a6de626a1e9e343fc7ada (diff)
downloadglibc-7787a35fd0ac1d42a05d3a45223158efa54d87d7.tar.gz
elf.h: Add PT_GNU_PROPERTY
This program header type is already used in binaries on x86 and aarch64 targets. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--elf/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 51e9968405..5b5ce37d9e 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -721,6 +721,7 @@ typedef struct
#define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
#define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
#define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
+#define PT_GNU_PROPERTY 0x6474e553 /* GNU property */
#define PT_LOSUNW 0x6ffffffa
#define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
#define PT_SUNWSTACK 0x6ffffffb /* Stack segment */