summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
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
2016-08-05use a larger chunk for getentropy() and save some for next time.Ted Unangst
2016-07-18Polish:Philip Guenther
2016-07-18Updated advice^Wcode from miod@ for passing &_DYNAMIC to _dl_boot_bindPhilip Guenther
2016-07-15Switch m88k to pass &_DYNAMIC to _dl_boot_bind()Philip Guenther
2016-07-04Remove prebind support: binding to symbol table indices is too fragilePhilip Guenther
2016-07-04Nuke prebind support; it's unworkable and we're never going to finish it.Mark Kettenis
2016-07-04The GOT has been initally mapped RW for *years*; ld.so doesn't need toPhilip Guenther
2016-06-21When handling DT_TEXTREL only set the mapping to READ+WRITE, ignoreTheo de Raadt
2016-06-21Handle textrels like other architectures do.Theo de Raadt
2016-06-18Make mips64 like all the others: only make mappings writable during relocationPhilip Guenther
2016-06-13Only need to sync the icache on the GOT for the old BSS PLT formatPhilip 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-26for textrels (sthen ran into one...):Theo de Raadt
2016-05-22Ignore the listed protection (which may contain X) when making pageTheo de Raadt
2016-05-21mul/div/rem replacement should happen without PROT_EXECTheo de Raadt
2016-05-21Temporarily make the PLT writable when we're initializing the magic slotsMark Kettenis
2016-05-19Give the caller a chance to handle the failure if unable to allocatePhilip Guenther
2016-05-19ld.so can now be entered by multiple threads via _dl_{allocate,free}_tib(),Philip Guenther
2016-05-18fix types for mmap wrappers. A few whitespace cleanups snuck in.Theo de Raadt
2016-05-12more hppa64 cleaningTheo de Raadt