summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2017-01-24make ldso[] const; OK guenther@Todd C. Miller
2017-01-24For consistentcy, use 'void *' with %p instead of 'char *'Philip Guenther
2017-01-24To format r_addr, use %p and cast to 'void *'. From comparison withPhilip Guenther
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip Guenther
2017-01-24Unbreak $ORIGIN support when only one of DT_RUNPATH and DT_RPATH is usedPhilip Guenther
2017-01-23remove line that slipped in with rev 1.77 but doesn't belong there; ok sthen@Christian Weisgerber
2017-01-23Whoops, lost the adjustment of DT_RUNPATH value as a DT_STRTAB value.Philip Guenther
2017-01-23Mark a bunch of stuff staticPhilip Guenther
2017-01-23The functionality of _dl_allocate_tib() is used internally, so renamePhilip Guenther
2017-01-23Wrap function declarations with __{BEGIN,END}_HIDDEN_DECLS to reducePhilip Guenther
2017-01-23Fix format string mismatchesPhilip Guenther
2017-01-23Fix format string mismatchesPhilip Guenther
2017-01-22Add support for DT_RUNPATH and DT_FLAGSPhilip Guenther
2017-01-21_dl_exit() is __dead, so it should return void.Philip Guenther
2017-01-20Delete ancient macros and unnecessary #includesPhilip Guenther
2017-01-11Add support for AArch64.Patrick Wildt
2017-01-09Remove dependency on __got_{start,end} symbols and look at PT_GNU_RELROMark Kettenis
2017-01-05Build with -fno-builtin to keep clang from optimizing the _dl_memset()Christian Weisgerber
2016-11-03small tweak to also check canaries if F is in effectOtto Moerbeek
2016-10-31sync to libc: malloc_move is not an option anymoreOtto Moerbeek
2016-10-25bring canaries for > page sized objects from libc to ld.so; ok guenther@Otto Moerbeek
2016-10-140xd0 -> 0xdb from libc mallocOtto Moerbeek
2016-10-14move better canary code and validate_junk() over from libc mallocOtto Moerbeek
2016-09-18merge form libc malloc:Otto Moerbeek
2016-09-16Implement the DT_RELACOUNT optimization. Missed previously because IPhilip Guenther
2016-09-16Remove the fallback to the __plt_{start,end} symbols, as the dynamic tagsPhilip Guenther
2016-09-08Implement self-relocation for -static -pie on arm. Also removes someMark Kettenis
2016-09-04Redundant memset and some better style wrt exiting functions after error.Otto Moerbeek
2016-09-03cherry-pick a few diffs from libc malloc; ok guenther@Otto Moerbeek
2016-09-01retire sparcTed Unangst
2016-08-31alpha and sh have TCB_SET() macros so don't need _dl_set_tcb()Philip Guenther
2016-08-30Move DT_NUM from <sys/exec_elf.h> to resolv.h in ld.so where it belongs.Mark Kettenis
2016-08-28ld.so doesn't need gettimeofday or lstat stubs any morePhilip Guenther
2016-08-28fix a commentPhilip Guenther
2016-08-28Don't call lstat() before readlink() just to see if it's a symlink,Philip Guenther
2016-08-27Delete debugging from when lazy binding was being implementedPhilip Guenther
2016-08-27Pull in <stddef.h> for NULLPhilip Guenther
2016-08-23Implement support for DT_INIT_ARRAY, DT_FINI_ARRAY and DT_PREINIT_ARRAY.Mark Kettenis
2016-08-15Drop -z nocombreloc. It was a rev 1.1 commit like on arm, so not clearPhilip Guenther
2016-08-14Drop -z nocombreloc. That's a rev 1.1 commit so not clear why it was neededPhilip Guenther
2016-08-14Mark the relro/got section as read-only before setting up the environmentPhilip Guenther
2016-08-13Passing in &_DYNAMIC appears to have stuck, so eliminate the extraPhilip Guenther
2016-08-12the slimmed down random functions inside ld.so are strict clones of theTheo de Raadt
2016-08-09Teach arm to pass &_DYNAMIC to _dl_boot_bind(); can optimize later in treePhilip Guenther
2016-08-08Look for a PT_GNU_RELRO section per object and, if present, mprotect thatPhilip Guenther
2016-08-07As with csu, alpha passes &_DYNAMIC to _reloc_alpha_got(), so justPhilip Guenther
2016-08-07Teach i386 to pass &_DYNAMIC to _dl_boot_bind()Philip Guenther
2016-08-07Teach mips64 to pass &_DYNAMIC to _dl_boot_bind()Philip Guenther
2016-08-07hahahah: amd64 has been passing &_DYNAMIC to _dl_boot_bind() forPhilip Guenther
2016-08-07Flip the #ifdef logic: amd64, arm, i386, and mips64 are the only archsPhilip Guenther