CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/02/03 04:03:48
Modified files:
gnu/llvm/lld/ELF: SyntheticSections.cpp Writer.cpp
gnu/llvm/lld/ELF/Arch: X86_64.cpp
Log message:
On OpenBSD we always want IBT-compatible PLT entries. Currently we use
repoline PLT entries that were changed to include the necessary endbr64
instructions. But with -Wl,-znoretpolineplt we would still emit non-BIT
PLT entries under certain circumstances. Fix this.
ok deraadt@, guenther@
