summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2019-12-17Eliminate failure returns from _dl_split_path(): if malloc fails just _dl_oom()Philip Guenther
2019-12-17Don't look up env variables until we know we'll trust them. Otherwise,Philip Guenther
2019-12-11ld.so may fail to remove the LD_LIBRARY_PATH environment variable forTodd C. Miller
2019-12-09When loading a library, mmap(2) may fail. Then everything getsAlexander Bluhm
2019-12-09print addresses upon msyscall failure, for nowTheo de Raadt
2019-12-07Disable ltrace for objects linked with -znow, as at least on amd64, linkingPhilip Guenther
2019-12-02It is not always clear what ld.so was backed up to ld.so.backup, andTheo de Raadt
2019-11-30Sigh, fix i386 msyscall() case to permission the correct address range.Theo de Raadt
2019-11-29As additional paranoia, make a copy of system ld.so into obj/ld.so.backupTheo de Raadt
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-11-28Unrevert: this change was unrelatedPhilip Guenther
2019-11-28Revert yesterday's _dl_md_reloc() and _dl_md_reloc_got() changes:Philip Guenther
2019-11-27Delete now obsolete commentsPhilip Guenther
2019-11-27unifdef: hppa does HAVE_JMPREL and does not have DT_PROCNUMPhilip Guenther
2019-11-27armv7 and aarch64 specify GLOB_DAT as having an addend, so treat itPhilip 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-11-10Simplify the handling of the explicit relocations based on ld.so onlyPhilip Guenther
2019-11-10unifdef HAVE_JMPREL, delete dt_pltrelsz handling (which was only usedPhilip Guenther
2019-11-10Recommit CHECK_LDSO bits for mips64, verified on both loongson and octeon.Philip Guenther
2019-10-24Delete unused support for relocations that don't require alignment.Philip Guenther
2019-10-23Prefer the size-independent ELF identifiers over the size-specific ones.Philip Guenther
2019-10-21Whoops: backout mips64+hppa CHECK_LDSO bits: they weren't done and weren'tPhilip Guenther
2019-10-20For more archs, ld.so itself only needs/uses the arch's "just add load offset"Philip Guenther
2019-10-05Tighten handling of pure relative DIR32 relocations and those referencingPhilip Guenther
2019-10-05Delete some obsolete debugging #ifdefs blocksPhilip Guenther
2019-10-04Convert the child_list member from a linked list to a vector.Philip Guenther
2019-10-03Use a better algorithm for calculating the grpsym library order.Philip Guenther
2019-09-30Oops: the call to ofree() in orealloc() was misconverted into a call toPhilip Guenther
2019-09-02Remove some duplicate symbol definitions.mortimer
2019-08-31Delete the last argument to fit recent _dl_find_symbol change.Kenji Aoyama
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-21In 2004, we upgraded to binutils 2.14 with did -zcombreloc by default.Philip Guenther
2019-07-14ld.so's $ORIGIN handling when argv[0] is a relative path was broken byPhilip Guenther
2019-07-01Compile with -fno-jump-tables to avoid relocations in _dl_boot_bind() whenMark Kettenis
2019-07-01Remove stray comma.Mark Kettenis
2019-06-07make gc workaround compile on non-clangTheo de Raadt
2019-06-04Disable the unmapping of ld.so's boot data for now, as boehm-gc apparentlyPhilip Guenther
2019-05-12Indentation fixPhilip Guenther
2019-05-11Prune visited leaves when walking dependencies to call init functions inPhilip Guenther
2019-05-10ld.so boot cleanup support:Philip Guenther
2019-05-08On retguard systems, remove the ld.so-local stack-protector handlingTheo de Raadt
2019-04-21Now that all Elf_foo types are correct, we don't need to use Elf32_WordTheo de Raadt
2019-04-21On alpha, the buckets of DT_HASH are 8 bytes instead of 4 bytes. This wasPhilip Guenther
2019-04-19Prevent clang from using builtins and jump tables in _dl_boot_bind()Visa Hankala
2019-02-14spelling/consistency fix; from nam nguyenJason McIntyre
2019-02-03_dl_cerror is trivial on powerpc; just inline the handling into the stubsPhilip Guenther