summaryrefslogtreecommitdiff
path: root/libexec/ld.so/amd64
AgeCommit message (Expand)Author
2023-12-11Make sure the syscall table entries are aligned on a 4-byte boundary.Theo de Raadt
2023-12-10Populate the non-LOAD openbsd.syscalls section (and PT_OPENBSD_SYSCALL)Theo de Raadt
2023-11-18crt0 uses a helper function in a MD src/libexec/ld.so .h file (rather thanTheo de Raadt
2023-05-18If you disable retpolineplt then _dl_bind_start is called with anPhilip Guenther
2023-04-25endbr64 is potentially neccessary in the syscall stubs.Theo de Raadt
2023-02-02unify spacing for LOAD FLAGS linesTheo de Raadt
2023-01-29Unite all nitems copies in ld.so/util.hGreg Steuck
2023-01-20amd64 now has xonly support via the PKU feature. Marking ld.so exec-onlyTheo de Raadt
2023-01-11Add retguard to amd64 syscalls.Todd Mortimer
2022-11-07Since the introduction of automatic immutable from the kernel, the munmap()Theo de Raadt
2022-05-01Prevent out-of-bounds array access with binaries that use unsupportedMark Kettenis
2022-01-17Nothing depends on archdep.h pulling in other #includes anymore,Philip Guenther
2022-01-08Prep .c files for removing the #includes from */archdep.hPhilip Guenther
2021-12-23Roll the syscalls that have an off_t argument to remove the explicit padding.Philip Guenther
2021-11-14Delete all the no-op RELOC_GOT() macros and their uses.Philip Guenther
2019-12-07Disable ltrace for objects linked with -znow, as at least on amd64, linkingPhilip Guenther
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-11-28Revert yesterday's _dl_md_reloc() and _dl_md_reloc_got() changes:Philip Guenther
2019-11-26Clean up _dl_md_reloc(): instead of having tables and piles of conditionalsPhilip Guenther
2019-11-26Make aarch64, amd64, arm, and i386 more like sparc64: move non-lazyPhilip Guenther
2019-10-23Prefer the size-independent ELF identifiers over the size-specific ones.Philip Guenther
2019-10-20For more archs, ld.so itself only needs/uses the arch's "just add load offset"Philip Guenther
2019-10-05Delete some obsolete debugging #ifdefs blocksPhilip Guenther
2019-08-06Factor out TEXTREL mprotecting from the per-arch files into _dl_rtld(),Philip Guenther
2019-08-04Simplify _dl_find_symbol(). Currently, it returns three values:Philip Guenther
2019-08-03The ABI says JUMP_SLOT relocations don't have an addend, so don't add it inPhilip Guenther
2019-08-03Suppress DWARF2 warnings on clang archs by building with -gdwarf-4Philip Guenther
2019-07-14ld.so's $ORIGIN handling when argv[0] is a relative path was broken byPhilip Guenther
2019-05-10ld.so boot cleanup support:Philip Guenther
2018-11-16Finish ld.so's transition to GNU_RELRO: eliminate support for usingPhilip Guenther
2018-10-25The compilers already put static arrays in .rodata when not written to;Philip Guenther
2018-07-09unify the various per-arch syscall.h as much as possibleTheo de Raadt
2018-04-27Make sure ld.so doesn't use floating point registers, as the lazy-bindingPhilip Guenther
2017-10-27Use <elf.h> instead of <elf_abi.h>Martin Pieuchot
2017-08-28whitespaceTheo de Raadt
2017-08-27Replace heaps of hand-written syscall stubs with a simpler frameworkTheo de Raadt
2017-08-15Align text locations to 16 (instead of 4) to match modern recommendationsTheo de Raadt
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip Guenther
2017-01-23Fix format string mismatchesPhilip Guenther
2017-01-21_dl_exit() is __dead, so it should return void.Philip Guenther
2017-01-20Delete ancient macros and unnecessary #includesPhilip Guenther
2017-01-09Remove dependency on __got_{start,end} symbols and look at PT_GNU_RELROMark Kettenis
2016-08-28ld.so doesn't need gettimeofday or lstat stubs any morePhilip Guenther
2016-07-04Remove prebind support: binding to symbol table indices is too fragilePhilip Guenther
2016-06-21When handling DT_TEXTREL only set the mapping to READ+WRITE, ignoreTheo de Raadt
2016-05-18fix types for mmap wrappers. A few whitespace cleanups snuck in.Theo de Raadt
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-03-21Rename the system call sendsyslog2 to sendsyslog. Keep the old oneAlexander Bluhm
2016-03-21Switch ld.so's stack smash handler from sendsyslog to sendsyslog2Philip Guenther
2015-12-06Simplify the relocation code for the ld.so bootstrap and static pie: trackPhilip Guenther