Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release/18.x: [Support/ELF] Add OpenBSD PT_OPENBSD_SYSCALLS constant. #82143

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

llvmbot
Copy link
Collaborator

@llvmbot llvmbot commented Feb 18, 2024

Backport 97eff26

Requested by: @brad0

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 18, 2024

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

Author: None (llvmbot)

Changes

Backport 97eff26

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 --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.

@tstellar tstellar merged commit c5e1885 into llvm:release/18.x Feb 20, 2024
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants