summaryrefslogtreecommitdiff
path: root/libexec/ld.so/loader.c
AgeCommit message (Expand)Author
2019-10-03Use a better algorithm for calculating the grpsym library order.Philip 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-07-21In 2004, we upgraded to binutils 2.14 with did -zcombreloc by default.Philip Guenther
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
2018-12-03DT_MIPS_RLD_MAP is an offset, so relocate it when present.Philip 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-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
2017-12-08Everyone knows this as ld.so, nor by the ancient name rtld.Theo de Raadt
2017-10-26If LD_BIND_NOW is in force then all relocations are performed eagerly,Philip Guenther
2017-02-08Provide size-generic ELF_NO_ADDR in <sys/exec_elf.h> and use that insteadPhilip Guenther
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip Guenther
2017-01-09Remove dependency on __got_{start,end} symbols and look at PT_GNU_RELROMark Kettenis
2016-08-28fix a commentPhilip Guenther
2016-08-23Implement support for DT_INIT_ARRAY, DT_FINI_ARRAY and DT_PREINIT_ARRAY.Mark Kettenis
2016-08-14Mark the relro/got section as read-only before setting up the environmentPhilip Guenther
2016-08-12the slimmed down random functions inside ld.so are strict clones of theTheo de Raadt
2016-08-08Look for a PT_GNU_RELRO section per object and, if present, mprotect thatPhilip Guenther
2016-07-04Remove prebind support: binding to symbol table indices is too fragilePhilip Guenther
2016-06-08Some ELF ABIs still require a PLT that is both writable and executable. ToMark Kettenis
2016-06-05Avoid W^X violation when setting DT_DEBUG on mips64.Mark Kettenis
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-03-24Unbreak arm and m88k: COPY relocations for weak symbols that are overloadedPhilip Guenther
2016-03-20Export environ and __progname, making the latter a copy of just the filenamePhilip Guenther
2015-11-15ldd(1) sets environment variable LD_TRACE_LOADED_OBJECTS to tell ld.soTheo de Raadt
2015-08-18_dl_malloc() proto exists, do not cast resultTheo de Raadt
2015-05-06Fix a memory leak in _dl_load_dep_libs()Jonathan Gray
2015-01-22delete annoying white space that annoyTheo de Raadt
2015-01-16<sys/param.h> to <limits.h> conversion. Verified binariesTheo de Raadt
2014-11-03Eliminate RTLD_PROTECT_PLT: ld.so is built with -Bsymbolic so thePhilip Guenther
2014-07-10check all memory allocations; ok miod@ guenther@Otto Moerbeek
2014-07-06allocate two things, test two pointers; ok miod@ guenther@Otto Moerbeek
2014-06-21Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry andOtto Moerbeek
2014-02-16Unbreak ld.so with ssp-strong/all on sparc64 and powerpc. With theMartynas Venckus
2014-01-23Remove LD_NORANDOM feature. It serves no usable purpose. DeterminismTheo de Raadt
2014-01-18Make ld.so pass its cleanup handler in $2 as required by the MIPS System VMark Kettenis
2013-12-25Pass _dl_dtors as the csu cleanup routine on shMiod Vallat
2013-12-25Pass _dl_dtors as the csu cleanup routine on arm.Miod Vallat
2013-12-25Pass _dl_dtors as the csu cleanup routine on m68k and m88k; change theMiod Vallat
2013-12-25Make ld.so pass its cleanup handler in %g1 as required by the SPARC System VMark Kettenis
2013-12-23Make ld.so pass its cleanup handler in %rdx as required by the AMD64 System VMark Kettenis
2013-12-23Make ld.so pass its cleanup handler in r7 as required by the PowerPC System VMark Kettenis
2013-12-23Make ld.so pass its cleanup handler in v0 and stop calling atexit(4) directlyMark Kettenis
2013-12-23Make ld.so pass its cleanup handler in %g1 as required by the SPARC System VMark Kettenis