summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
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
2019-02-03_dl_cerror is trivial on alpha and m88k; just inline the hanlding intoPhilip Guenther
2019-01-25On i386, ensure that the first PT_LOAD segment is below the W^XKurt Miller
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2018-12-05Delete an unused struct member that has hid out here for 17 yearsPhilip Guenther
2018-12-03DT_MIPS_RLD_MAP is an offset, so relocate it when present.Philip Guenther
2018-11-28Implement support for DT_GNU_HASH, taking all the interesting bitsPhilip Guenther
2018-11-22Make alpha less special: _dl_boot_bind() is written to completePhilip Guenther
2018-11-20On mips64, DT_DEBUG doesn't need mprotecting if it's in the GNU_RELRO segmentPhilip Guenther
2018-11-16Finish ld.so's transition to GNU_RELRO: eliminate support for usingPhilip Guenther
2018-11-16Borrow an idea from DragonFly BSD: factor out the "does this symbol match whatPhilip Guenther
2018-11-15Put all the symbol lookup parameters (except the object being searched) andPhilip Guenther
2018-11-12Delete support for non-secureplt binaries. The secure PLT format has beenPhilip Guenther
2018-11-09Delete superfluous libc reach-around variables, left over from thePhilip Guenther
2018-11-09Delete superfluous libc reacharounds.Philip Guenther
2018-11-09Delete support for obsolete BSS PLT format, which was last known to bePhilip Guenther
2018-11-02ld.so's malloc has no runtime option processing, so remove theOtto Moerbeek
2018-10-25The compilers already put static arrays in .rodata when not written to;Philip Guenther
2018-10-23Delay processing of ld.so's own PT_GNU_RELRO section until after environmentPhilip Guenther
2018-10-22Use int, not char*, for booleansPhilip Guenther
2018-10-01Add retguard to arm64 ld.so.mortimer
2018-08-29make ld.so build reproducible by including a FILE symbol and by removingRobert Nagy
2018-07-24Fix address calculation for _DYNAMIC. We want to address of _DYNAMIC itself,Mark Kettenis
2018-07-09unify the various per-arch syscall.h as much as possibleTheo de Raadt
2018-06-16Add add PIE support for m88k (requires gcc4 toolchain)Philip Guenther
2018-06-08Bail out if fchmod(2) fails.cheloha
2018-06-01Bump ELF_RANDOMIZE_LIMIT to 1MB.mortimer
2018-05-15On arm64 negate the whole 64-bit register otherwise system call wrappersMark Kettenis
2018-04-27Make sure ld.so doesn't use floating point registers, as the lazy-bindingPhilip Guenther
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2018-03-09Add support for the DF_TEXTREL flag.Mark Kettenis
2018-02-09Use a static chacha instance to fill randomdata sections. Avoids loopingmortimer