Add minimal support for GNU_PROPERTY
Add basic support for R_386_GOT32XRepairs ld.bfd operations on i386: since the switch to llvm-16 clangemits such relocations (eg one is present in /usr/lib/crtbegin.o).This unbreaks the build of
Add basic support for R_386_GOT32XRepairs ld.bfd operations on i386: since the switch to llvm-16 clangemits such relocations (eg one is present in /usr/lib/crtbegin.o).This unbreaks the build of ports/lang/fpc.Help and tests from tb@, ok tb@ kettenis@
show more ...
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@
teach the BFD tools how to handle NOBTCFI, quite similar to WXNEEDEDok kettenis
Fix erroneous comment for the PT_OPENBSD_MUTABLE definition.
Implement DT_MIPS_RLD_MAP_REL support and add such an entry to PIEexecutables.ok deraadt@
In the linkers, collect objects in section "openbsd.mutable" and placethem into a page-aligned region in the bss, with the right markers forkernel/ld.so to identify the region and skip making it im
In the linkers, collect objects in section "openbsd.mutable" and placethem into a page-aligned region in the bss, with the right markers forkernel/ld.so to identify the region and skip making it immutable.While here, fix readelf/objdump versions to show all of this.ok miod kettenis
Sync DF_1_* flag definitions with llvm 13, including support inreadelf -d for displaying them.(lld 13 sets DF_1_PIE on most our binaries)ok jsg@
Teach binutils enough about RELR relocations to not break them and forreadelf to display them in a way compatible with llvm-readelf, includingthe --raw-relr debugging optionok kettenis@
recognise a small number of riscv relocations in readelfok kettenis@
Add a few missing elocations.ok jasper@
Various fixes to make this compile with clang on powerpc.ok visa@
Ignore LLVM 7's LINKER_OPTIONS section.ok patrick@, naddy@
Ignore LLVM 7's ADDRSIG section.Problem reported by bluhm@ok kettenis@
Core files with >65535 sections have to use PN_XNUM and a section headerto pass the real count, with a minimal .shstrtab segment for consistency.Also, add support for PN_XNUM to readelf.problem r
Core files with >65535 sections have to use PN_XNUM and a section headerto pass the real count, with a minimal .shstrtab segment for consistency.Also, add support for PN_XNUM to readelf.problem reported and testing by claudio@ok kettenis@
Make our ancient binutils recognize .gnu.hash sections such that our toolsdon't barf on binaries created by ld.lld(1). From FreeBSD.ok millert@, deraadt@, guenther@
R_AARCH64_NONE should be zero, not 256. The latter was a deprecatedassignment and isn't used by clang/lld.ok jsg@
Teach readelf the arm64 dynamic relocation we use, as well as them88k-specific dynamic tagsok deraadt@ jsg@
Stub out aarch64 support and avoid building gas and ld on this architecture.ok mpi@, patrick@
Teach readelf and objdump about the PT_OPENBSD_BOOTDATA section value.Teach ld to access that and PT_GNU_RELRO in linker scripts.ok deraadt@
At least display the DT_GNU_HASH tag nicelyok kettenis@
-z wxneeded creates a PHDR PT_OPENBSD_WXNEEDED. This annotation is placedon a binary by a software builder (ie. packager) to indicate to the kernelthat this software performs W^X violations.ok ke
-z wxneeded creates a PHDR PT_OPENBSD_WXNEEDED. This annotation is placedon a binary by a software builder (ie. packager) to indicate to the kernelthat this software performs W^X violations.ok kettenis guenther millert
Add Octeon specific sync opcodes.This is needed for proper sili(4) functionality on Octeon II machines.OK jasper@, visa@
Port the ELF m88k work to binutils 2.17. Good enough to build a bootingkernel, and hopefully userland as well.
Add support for .openbsd.randomdata and PT_OPENBSD_RANDOMIZE tobinutils 2.17. Passes randomdata regress tests on sparc64.
12