Mark Kettenis laying the groundwork in LLVM/lld for some upcoming work in #OpenBSD. Stay tuned!
kettenis@ modified src/gnu/llvm/*: 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@
And follow-up commit for binutils by kettenis@:
kettenis@ modified gnu/usr.bin/binutils-2.17/*: 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@
And some further details by deraadt@:
deraadt@ modified src/sys/sys/exec_elf.h: PT_OPENBSD_SYSCALLS is an extension that points to non-LOAD section which contains {offset,syscall#} structures.
ok kettenis
