[llvm-branch-commits] [llvm] release/18.x: [Support/ELF] Add OpenBSD PT_OPENBSD_SYSCALLS constant. (PR #82143)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Feb 17 17:59:21 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-binary-utilities

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport 97eff26d0ca4d187a5efb8534af484dbb68bce30

Requested by: @<!-- -->brad0

---
Full diff: https://github.com/llvm/llvm-project/pull/82143.diff


1 Files Affected:

- (modified) llvm/include/llvm/BinaryFormat/ELF.h (+1) 


``````````diff
diff --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h
index 81cdd39afc6bab..f17ba75e3efa6a 100644
--- a/llvm/include/llvm/BinaryFormat/ELF.h
+++ b/llvm/include/llvm/BinaryFormat/ELF.h
@@ -1464,6 +1464,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.

``````````

</details>


https://github.com/llvm/llvm-project/pull/82143


More information about the llvm-branch-commits mailing list