summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-01-30 19:50:13 +0000
committerkib <kib@FreeBSD.org>2012-01-30 19:50:13 +0000
commit95ff387061a04c9446eccd0f06bdb9661a8eb8f7 (patch)
tree0726ef9730e78a9e708654aa120dcac7547cd3e3 /sys/sys
parentd372b841c6b47b8790b96f01b90eced83c3d0757 (diff)
downloadFreeBSD-src-95ff387061a04c9446eccd0f06bdb9661a8eb8f7.zip
FreeBSD-src-95ff387061a04c9446eccd0f06bdb9661a8eb8f7.tar.gz
Add definition for PT_GNU_RELRO.
MFC after: 3 days
Diffstat (limited to 'sys/sys')
-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 489851a..12d79ca 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 */
OpenPOWER on IntegriCloud