summaryrefslogtreecommitdiff
path: root/libexec/ld.so/loader.c
AgeCommit message (Expand)Author
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
2013-12-23Call __cxa_atexit(3) instead of atexit(3). Preparation for upcoming changes toMark Kettenis
2013-12-23Make ld.so pass its cleanup handler in %arg1 and stop calling atiexit(4)Mark Kettenis
2013-12-23Make ld.so pass its cleanup handler in %edx as required by the i386 System VMark Kettenis
2013-06-01Introduce ltrace(1). This tool works with ld.so to inject utrace record forMiod Vallat
2013-04-05- Add ORIGIN, OSNAME, OSREL and PLATFORM substitution support for rpaths.Kurt Miller
2013-03-20- Parse colon separated paths into NULL terminated arrays of stringKurt Miller
2013-01-11Proper bounds checking for DT_xxx values in _dl_boot_bind(). Turned out to beMiod Vallat
2012-06-12Fix loaded object sod matching: when we load libfoo.so.X.Y intoMatthew Dempsky
2012-05-08Refuse to load ELF objects that contain a PT_TLS program header.Joel Sing
2012-01-08Since PIE executables on mips64 don't have DT_MIPS_RLD_MAP, fall back onMark Kettenis
2011-11-28Add support for getting some flags from DT_FLAGS_1: new flagsPhilip Guenthe
2011-06-27Backout the dynamic linker speed improvement diff for now, it stillStuart Henderson
2011-05-22Dynamic linker speed improvement diff. tested by several sinc k2k11.Dale Rahn
2011-05-09Outsmart gcc4 on mips* by moving the declaration of _dl_debug_stateOtto Moerbeek
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
2010-12-07Make the preload error distinct from the normal error.Dale Rahn