[Support/ELF] - Add OpenBSD PT_OPENBSD_RANDOMIZE, PT_OPENBSD_WXNEEDED constants.

Docs for reference:
http://man.openbsd.org/OpenBSD-current/man5/elf.5
2a5a8fc7e3

llvm-svn: 283872
This commit is contained in:
George Rimar 2016-10-11 11:53:33 +00:00
parent 628c5377b0
commit 8acba11675
1 changed files with 3 additions and 0 deletions

View File

@ -1036,6 +1036,9 @@ enum {
PT_SUNW_EH_FRAME = 0x6474e550, PT_SUNW_EH_FRAME = 0x6474e550,
PT_SUNW_UNWIND = 0x6464e550, PT_SUNW_UNWIND = 0x6464e550,
PT_OPENBSD_RANDOMIZE = 0x65a3dbe6, // Fill with random data.
PT_OPENBSD_WXNEEDED = 0x65a3dbe7, // Program does W^X violations.
PT_GNU_STACK = 0x6474e551, // Indicates stack executability. PT_GNU_STACK = 0x6474e551, // Indicates stack executability.
PT_GNU_RELRO = 0x6474e552, // Read-only after relocation. PT_GNU_RELRO = 0x6474e552, // Read-only after relocation.