summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2017-12-24Fix one possible buffer overflow and one underflow. Also some minorTodd C. Miller
2017-12-21Implement missing bits to support lazy binding. Note that the codeMark Kettenis
2017-12-12ld.so's syscall _dl_* API/ABI doesn't reurn errno, but -errno.Theo de Raadt
2017-12-12spacingTheo de Raadt
2017-12-08also cleanout ld.so.aTheo de Raadt
2017-12-08Everyone knows this as ld.so, nor by the ancient name rtld.Theo de Raadt
2017-12-01Redo the calculation of the alignment and placement of static TLS data toPhilip Guenther
2017-11-28Implement a DL_REFERENCE dlctl. To be used by the upcomingMark Kettenis
2017-11-15Tweak bitmask calculation to match i386 and avoid clang warning.Mark Kettenis
2017-11-05Consolidate lib.so.*.a, ld.so.a and the kernel relink kit intoRobert Peichaer
2017-10-29Prefer <elf.h> to the non portable <sys/exec_elf.h>.Martin Pieuchot
2017-10-27Use <elf.h> instead of <elf_abi.h>Martin Pieuchot
2017-10-26If LD_BIND_NOW is in force then all relocations are performed eagerly,Philip Guenther
2017-10-24R_AARCH64_NONE should be zero, not 256. The latter was a deprecatedPhilip Guenther
2017-10-10__plt_{start,end} are no longer generated or necessary, having beenPhilip Guenther
2017-10-05Sync with libc malloc, doing delayed free double-free check alwaysOtto Moerbeek
2017-09-09Remove superfluous mprotect()ing of the PLT that's been obsoleted byPhilip Guenther
2017-09-03Fix m88k problem in recent ld.so changes.Kenji Aoyama
2017-08-29rename *fdprint function to *dprintf, like libc versionTheo de Raadt
2017-08-28whitespaceTheo de Raadt
2017-08-28whitespaceTheo de Raadt
2017-08-28fix arm64 buildJonathan Gray
2017-08-27Place all .o files, Symbols.map, and the test program into /usr/libdata/ld.so.a.Theo de Raadt
2017-08-27The test program run before ld.so is installed was encoding the $OBJDIRTheo de Raadt
2017-08-27Link the ~45 .o which become ld.so in a random order.Theo 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-08-26Remove -fno-stack-protector; works fine without it.Mark Kettenis
2017-08-19Build ld.so with ${DEBUG} which defults to -g, like other "libraries" are.Theo de Raadt
2017-08-16remove accidentally duplicated cpp chunksTheo de Raadt
2017-08-16Adapt the commit in libc that changes how a string like "0xy" isTodd C. Miller
2017-08-15Align text locations to 16 (instead of 4) to match modern recommendationsTheo de Raadt
2017-08-13Get R_MIPS_* defines via <machine/reloc.h>.Visa Hankala
2017-07-23from libc malloc: only access offset if canaries are enabled *and* size > 0Otto Moerbeek
2017-07-02Fixed a typo in error message.Tobias Stoeckmann
2017-06-22Do not interpret an empty path as current working directory "." whenSebastian Benoit
2017-06-04Remove the sigprocmask stub that has long been made unused sincePatrick Wildt
2017-06-04For the memory operand, clang passes in an address relative to theChristian Weisgerber
2017-05-08Always use the same callback to unlock as was used to lock. PermitsPhilip Guenther
2017-02-18Add NULL tests to wrterror() to avoid a NULL deref when called fromPhilip Guenther
2017-02-16correct format strings, ok guentherTheo de Raadt
2017-02-16Match the recent change in the kernel and ask for a generic armv8-aJonathan Gray
2017-02-15Make this build (and run) with gcc 4.Miod Vallat
2017-02-08Provide size-generic ELF_NO_ADDR in <sys/exec_elf.h> and use that insteadPhilip Guenther
2017-01-30Fix ELF64_R_TYPE(reloc->r_info) to have the same type on mips64lePhilip Guenther
2017-01-29Previous commit broke build on loongson. Refix by addingVisa Hankala
2017-01-25Fix build on mips64.Visa Hankala
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