Skip to content

Commit

Permalink
[Support/ELF] - Add OpenBSD PT_OPENBSD_RANDOMIZE, PT_OPENBSD_WXNEEDED…
Browse files Browse the repository at this point in the history
… constants.

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

llvm-svn: 283872
  • Loading branch information
George Rimar committed Oct 11, 2016
1 parent 628c537 commit 8acba11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/include/llvm/Support/ELF.h
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,9 @@ enum {
PT_SUNW_EH_FRAME = 0x6474e550,
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_RELRO = 0x6474e552, // Read-only after relocation.

Expand Down

0 comments on commit 8acba11

Please sign in to comment.