aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/elf_common.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-01-30 19:50:13 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-01-30 19:50:13 +0000
commit1b38b227395b0fa2c7e01a58d1ffc558aaed3e20 (patch)
tree0726ef9730e78a9e708654aa120dcac7547cd3e3 /sys/sys/elf_common.h
parent2bd3e4c2c243fde397ed61c7832994a284afd624 (diff)
downloadsrc-1b38b227395b0fa2c7e01a58d1ffc558aaed3e20.tar.gz
src-1b38b227395b0fa2c7e01a58d1ffc558aaed3e20.zip
Add definition for PT_GNU_RELRO.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=230783
Diffstat (limited to 'sys/sys/elf_common.h')
-rw-r--r--sys/sys/elf_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 489851a41633..12d79ca6de27 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -328,6 +328,7 @@ typedef struct {
#define PT_SUNW_UNWIND 0x6464e550 /* amd64 UNWIND program header */
#define PT_GNU_EH_FRAME 0x6474e550
#define PT_GNU_STACK 0x6474e551
+#define PT_GNU_RELRO 0x6474e552
#define PT_LOSUNW 0x6ffffffa
#define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
#define PT_SUNWSTACK 0x6ffffffb /* describes the stack segment */