diff options
author | Frederic Cambus <fred@statdns.com> | 2024-02-17 15:38:05 +0100 |
---|---|---|
committer | Frederic Cambus <fred@statdns.com> | 2024-02-17 16:41:26 +0100 |
commit | 97eff26d0ca4d187a5efb8534af484dbb68bce30 (patch) | |
tree | d4431719eda8cc9168cf28fb6bf4344940fbf268 | |
parent | a5865c3c3dbbd17ae12ecc1c297fe1fc2605df52 (diff) | |
download | llvm-97eff26d0ca4d187a5efb8534af484dbb68bce30.zip llvm-97eff26d0ca4d187a5efb8534af484dbb68bce30.tar.gz llvm-97eff26d0ca4d187a5efb8534af484dbb68bce30.tar.bz2 |
[Support/ELF] Add OpenBSD PT_OPENBSD_SYSCALLS constant.
Reference: https://github.com/openbsd/src/blob/master/sys/sys/exec_elf.h
-rw-r--r-- | llvm/include/llvm/BinaryFormat/ELF.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h index 8e0356a..124bba7 100644 --- a/llvm/include/llvm/BinaryFormat/ELF.h +++ b/llvm/include/llvm/BinaryFormat/ELF.h @@ -1476,6 +1476,7 @@ enum { PT_OPENBSD_RANDOMIZE = 0x65a3dbe6, // Fill with random data. PT_OPENBSD_WXNEEDED = 0x65a3dbe7, // Program does W^X violations. PT_OPENBSD_NOBTCFI = 0x65a3dbe8, // Do not enforce branch target CFI. + PT_OPENBSD_SYSCALLS = 0x65a3dbe9, // System call sites. PT_OPENBSD_BOOTDATA = 0x65a41be6, // Section for boot arguments. // ARM program header types. |