summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2018-03-09Add support for the DF_TEXTREL flag.Mark Kettenis
2018-02-09Use a static chacha instance to fill randomdata sections. Avoids loopingmortimer
2018-02-07sync with libc malloc: use consistent style for for loop in unmap(),Otto Moerbeek
2018-02-04Expand Type strings by one space, to fit ld.so, in the same ugly way "exe "Theo de Raadt
2018-02-01don't forget to increment loop var; infinite loops spotted by sthen@Otto Moerbeek
2018-01-30No need to add ffs.c as we use .VPATH to reach over into libc/string.Mark Kettenis
2018-01-30provide ffs, gcc generates calls to it, even when __builtin_ffs() is used.Otto Moerbeek
2018-01-30kill a gcc warningOtto Moerbeek
2018-01-30port over the malloc changes from libc. prompted by deraadt@Otto Moerbeek
2018-01-18Unlike other archs, mips64 needs ld.so to know about symbol visibility andPhilip Guenther
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