summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sh
AgeCommit message (Expand)Author
2021-11-14Delete all the no-op RELOC_GOT() macros and their uses.Philip Guenther
2019-12-07Disable ltrace for objects linked with -znow, as at least on amd64, linkingPhilip Guenther
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-10-24Delete unused support for relocations that don't require alignment.Philip Guenther
2019-10-23Prefer the size-independent ELF identifiers over the size-specific ones.Philip Guenther
2019-10-20For more archs, ld.so itself only needs/uses the arch's "just add load offset"Philip Guenther
2019-10-05Delete some obsolete debugging #ifdefs blocksPhilip 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-14ld.so's $ORIGIN handling when argv[0] is a relative path was broken byPhilip Guenther
2018-11-16Finish ld.so's transition to GNU_RELRO: eliminate support for usingPhilip Guenther
2018-10-25The compilers already put static arrays in .rodata when not written to;Philip Guenther
2018-07-09unify the various per-arch syscall.h as much as possibleTheo de Raadt
2017-10-27Use <elf.h> instead of <elf_abi.h>Martin Pieuchot
2017-08-28whitespaceTheo de Raadt
2017-08-27hppa & sh use support functions from libgcc. Rather than linking againstTheo de Raadt
2017-08-27Replace heaps of hand-written syscall stubs with a simpler frameworkTheo de Raadt
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip 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-09Remove dependency on __got_{start,end} symbols and look at PT_GNU_RELROMark Kettenis
2016-08-31alpha and sh have TCB_SET() macros so don't need _dl_set_tcb()Philip Guenther
2016-08-28ld.so doesn't need gettimeofday or lstat stubs any morePhilip Guenther
2016-08-15Drop -z nocombreloc. It was a rev 1.1 commit like on arm, so not clearPhilip Guenther
2016-07-04Remove prebind support: binding to symbol table indices is too fragilePhilip Guenther
2016-06-21When handling DT_TEXTREL only set the mapping to READ+WRITE, ignoreTheo de Raadt
2016-05-18fix types for mmap wrappers. A few whitespace cleanups snuck in.Theo de Raadt
2016-05-07Move the set_tcb after getdents to keep L_cerr in range.Philip Guenther
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-03-21Rename the system call sendsyslog2 to sendsyslog. Keep the old oneAlexander Bluhm
2016-03-21Switch ld.so's stack smash handler from sendsyslog to sendsyslog2Philip Guenther
2015-12-06Simplify the relocation code for the ld.so bootstrap and static pie: trackPhilip Guenther
2015-11-15ldd(1) sets environment variable LD_TRACE_LOADED_OBJECTS to tell ld.soTheo de Raadt
2015-11-02Factor out the logic for mprotecting the memory between two symbols intoPhilip Guenther
2015-11-02Fix typo: s/DT_JUMPREL/DT_JMPREL/Philip Guenther
2015-09-19kbind has eliminated the need for and use of the bind lock. Delete it, thePhilip Guenther
2015-09-13Rename __sysctl syscall to just sysctl, as the userland wrapper is no longerPhilip Guenther
2015-08-28Use kbind for lazy binding GOT/PLT updates on sh (i.e. landisk)Philip Guenther
2014-12-30self-relocating crt0 bits for sh, and enable static pie by default. With someMiod Vallat
2014-12-30Clean up and optimize _dl_start a bit by using immediate addressing forMiod Vallat
2014-09-01Sync readlink(2) with IEEE Std 1003.1-2008.Doug Hogan
2014-07-14Now that we have sendsyslog(2), we can directly use it in theTheo de Raadt
2014-07-09_dl_fcntl() is no longer used; kill the stubsPhilip Guenther
2014-07-06move from sysclt(KERN_ARND) to getentropy(2); ok miod@, kettenis@Otto Moerbeek
2014-07-05Mark _dl_exit __dead.Miod Vallat
2014-07-05Unlike libc syscall stubs, ld.so syscall stubs are expected to return -errno,Miod Vallat
2014-07-05No need to redefine DT_PROCNUM and DT_BIND_NOW here, these are provided by MIMiod Vallat
2013-12-25Pass _dl_dtors as the csu cleanup routine on shMiod Vallat
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-06-13Appease LLVM warning..Brad Smith