Skip to content

Commit 97eff26

Browse files
committed
[Support/ELF] Add OpenBSD PT_OPENBSD_SYSCALLS constant.
Reference: https://github.com/openbsd/src/blob/master/sys/sys/exec_elf.h
1 parent a5865c3 commit 97eff26

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
@@ -1476,6 +1476,7 @@ enum {
14761476
PT_OPENBSD_RANDOMIZE = 0x65a3dbe6, // Fill with random data.
14771477
PT_OPENBSD_WXNEEDED = 0x65a3dbe7, // Program does W^X violations.
14781478
PT_OPENBSD_NOBTCFI = 0x65a3dbe8, // Do not enforce branch target CFI.
1479+
PT_OPENBSD_SYSCALLS = 0x65a3dbe9, // System call sites.
14791480
PT_OPENBSD_BOOTDATA = 0x65a41be6, // Section for boot arguments.
14801481

14811482
// ARM program header types.

0 commit comments

Comments
 (0)