summaryrefslogtreecommitdiff
path: root/libexec/ld.so/loader.c
AgeCommit message (Expand)Author
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
2010-10-25Search loaded libs first and add support for SONAME matching. ok drahn@Kurt Miller
2010-07-01When generating grpsym lists, avoid duplicates without searching theDale Rahn
2010-01-02Fix handling of hppa RELOC_IPLT relocations during 'bootstrap relocation'.Mark Kettenis
2009-02-04Tag ld.so as an OpenBSD binary/library.Mark Kettenis
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
2008-06-13Pass relocated Elf_Dyn * to _dl_finalize_object(). Needed for pieKurt Miller
2008-06-12- rename _dl_boot argument loff to dyn_loff to differentiate it fromKurt Miller
2008-05-05Constantly fill in the program header pointer and count in elf_object_tKurt Miller
2007-11-27Make _dl_md_reloc_got() report errors, and take them into account.Miod Vallat
2007-04-03add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. FunctionalityJason Wright
2007-04-02Since the kernel allows argv[0] == NULL, dont core in ld.soDale Rahn
2007-01-28revert 1.108, the diff allowed ldd to print the load address of the binary,Dale Rahn
2006-11-21Fill in load/end address for binary.Dale Rahn
2006-11-15failed to purge doubled up environment variables; found by Mark DowdTheo de Raadt
2006-11-10Getting much closer.Dale Rahn
2006-11-10Not quite working ld.so support for shDale Rahn