Skip to content

Commit c5e1885

Browse files
fcambuststellar
authored andcommitted
[Support/ELF] Add OpenBSD PT_OPENBSD_SYSCALLS constant.
Reference: https://github.com/openbsd/src/blob/master/sys/sys/exec_elf.h (cherry picked from commit 97eff26)
1 parent ae27600 commit c5e1885

File tree

1 file changed

+1
-0
lines changed
  • llvm/include/llvm/BinaryFormat

1 file changed

+1
-0
lines changed

llvm/include/llvm/BinaryFormat/ELF.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,7 @@ enum {
14641464
PT_OPENBSD_RANDOMIZE = 0x65a3dbe6, // Fill with random data.
14651465
PT_OPENBSD_WXNEEDED = 0x65a3dbe7, // Program does W^X violations.
14661466
PT_OPENBSD_NOBTCFI = 0x65a3dbe8, // Do not enforce branch target CFI.
1467+
PT_OPENBSD_SYSCALLS = 0x65a3dbe9, // System call sites.
14671468
PT_OPENBSD_BOOTDATA = 0x65a41be6, // Section for boot arguments.
14681469

14691470
// ARM program header types.

0 commit comments

Comments
 (0)