Collect .openbsd.syscalls sections into a new PT_OPENBSD_SYSCALLS segment.
authorkettenis <kettenis@openbsd.org>
Sun, 3 Dec 2023 21:15:11 +0000 (21:15 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 3 Dec 2023 21:15:11 +0000 (21:15 +0000)
commit42a61acefa8b3288ff2163fb55e934a3fee39974
treef75bb6e2065eab95a99dccb95bbfc1b1ebfee9a6
parent921ffa12ff97a9cf9852f5b1867e6cb023d690d0
Collect .openbsd.syscalls sections into a new PT_OPENBSD_SYSCALLS segment.
This will be used soon to pin system calls to designated call sites.

ok deraadt@
gnu/llvm/lld/ELF/ScriptParser.cpp
gnu/llvm/lld/ELF/Writer.cpp
gnu/llvm/llvm/include/llvm/BinaryFormat/ELF.h
gnu/llvm/llvm/tools/llvm-objdump/ELFDump.cpp
gnu/llvm/llvm/tools/llvm-readobj/ELFDumper.cpp