Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-01-12 | GCC3 compatible asm code. tested on gcc2 myself. ok brad@ | Dale Rahn | |
2004-01-10 | the sparcv9 ABI requires registers %g2, %g3 to be first announced before | Peter Valchev | |
it can use them, and gcc3 catches this ok henric | |||
2003-12-03 | Move the asm definition of _dl__syscall from a header file into a .c file | Dale Rahn | |
so that 12 copies of it are not generated. | |||
2003-11-21 | oops, it wasn't that diff that tedu@ ok'd - revert for now | Damien Miller | |
2003-11-21 | add output file and path stripping options useful for pre-generating | Damien Miller | |
ld.so.hints for dynamic ramdisks. idea from markus@ manpage nits jmc@ ok tedu@ | |||
2003-11-20 | remove -Werror from userland builds, to give us a chance to | Anil Madhavapeddy | |
use more verbose warning options if desired. ok millert@, henning@, david@ | |||
2003-11-11 | Better fix to the library name parsing. now correctly handles | Dale Rahn | |
libpython2.2.so.0.0 vs libpython2.1.so.0.0. Clean up a potential memory leak if the filename is not a valid library. ok brad@ | |||
2003-10-26 | Work around a problem with shared libraries named as libX-A.B.so.X.Y. | Dale Rahn | |
Without this patch, the standard major:minor version matching failed. ok brad@ | |||
2003-10-20 | document shlib_dirs; from Han Boetes (different diff used, though); | Jason McIntyre | |
ok drahn@ | |||
2003-10-17 | double `the the'; | Jason McIntyre | |
2003-10-04 | breaks on sparc | Theo de Raadt | |
2003-10-03 | Initialize environ before calling constructors or atexit. | Dale Rahn | |
Tested by tedu, no real ok. | |||
2003-10-01 | Add break statements in switch missing from revision 1.32. | Todd C. Miller | |
2003-09-26 | - smaller list width | Jason McIntyre | |
- <> -> .Aq - macro cleanup - also kills a (new) groff warning | |||
2003-09-25 | dlerror(3) should clear _dl_errno; based on a patch from Bjorn Sandell. | Todd C. Miller | |
Closes PR 3441; drahn@ OK | |||
2003-09-05 | Put in workaround for alpha so that non-lazy binding seems to work, | Dale Rahn | |
however it is using some of the lazy binding values. With this patch LD_BIND_NOW=yes make does not core. ok deraadt@ | |||
2003-09-04 | - document LD_BIND_NOW | Jason McIntyre | |
- new sentence, new line - comment out comments patch from (and ok) drahn@ | |||
2003-09-04 | Fix W^X mistake. If the dynamic linker is workin in non-lazy mode, it | Dale Rahn | |
should still mprotect the GOT and PLT as appropriate. ok deraadt@ miod@ | |||
2003-09-04 | Symbol cache for GOT lookup. When a symbol is found it is saved in a cache | Dale Rahn | |
for future lookups in the same GOT relocation table. Uses static buffer for small symbol tables, mmap for larger ones. ok deraadt@ | |||
2003-09-02 | Fix PR 3371, symbol lookup in dlopen()ed objects is not correct. Correct | Dale Rahn | |
behavior for RTLD_GLOBAL/RTLD_LOCAL is now supported. ok espie@ | |||
2003-08-19 | Fix PowerPC PLT generation. After 2^12 entries (2^14 offset), only every | Dale Rahn | |
other slot in the PLT is used, this is because it takes more than one instruction to generate a constant > 2^14. Normal PLT entry < 2^12 li r11, <n> # where n is PLT index*4 (offset used for plttable). b .pltresolve | .pltcall | target PLT entry after 2^12 lis r11, <n>@ha addi r11, r11, <n>@l # where n is PLT index*4 (offset used for plttable). b .pltresolve | .pltcall | target nop # unused This is all specified by the PowerPC SVID. The PLT table generation code was never tested for entries > 2^12 before and was broken. This fixes the indexing, the constant checking 12 vs 14, ... This code has been tested with up to 128000+ functions. | |||
2003-08-12 | use _ENTRY consistently, remove some #if 0 code, and clean up some comments; ↵ | Jason Wright | |
ok drahn | |||
2003-08-04 | document LD_NORANDOM; input and ok from several ppl. | Federico G. Schwindt | |
2003-07-28 | The fifth argument to _dl_find_symbol is a 'int size', not a SYM_ define. | Dale Rahn | |
Fix several calls which had the incorrect but working define in that position It happened that SYM_NOTPLT was 0, which was the desired size value. | |||
2003-07-18 | Fix print if minor of library used is is less than requested. ok tdeval@ | Dale Rahn | |
2003-07-10 | add missing includes | David Krause | |
ok deraadt@ tedu@ | |||
2003-07-09 | changes to ld.so to be compatible with newer binutils, requires | Dale Rahn | |
slight changes in the startup code on most archs. ok art@ brad@ | |||
2003-07-09 | - simplify some macros | Jason McIntyre | |
- fix a list ok drahn@ | |||
2003-07-06 | various proto, ansi, and knf repair. tested on all architectures that | Theo de Raadt | |
use it. (build may require make cleandir because of .depend balony) | |||
2003-07-02 | Correct library search algorithm, wrt versioned objects | Niklas Hallqvist | |
2003-06-27 | put it in section 1 | Theo de Raadt | |
2003-06-26 | Manpage for ELF ld.so, derived from a.out version, not yet complete | Dale Rahn | |
also points out missing features in the ELF ld.so. | |||
2003-06-26 | simple protos | Theo de Raadt | |
2003-06-22 | Dynamic linking random order fixes. This enables random library ordering. | Dale Rahn | |
Tested by naddy@ and others. | |||
2003-06-11 | no more register | Theo de Raadt | |
2003-06-09 | pefo 3/4 licence cleanups | Theo de Raadt | |
2003-06-03 | Disable random library ordering, this seems to be exposing bugs in other code. | Dale Rahn | |
2003-06-03 | three four gone. | Artur Grabowski | |
2003-06-03 | kill clause 3 and 4 from several of my copyrights, cleanup. | Dale Rahn | |
2003-06-03 | license cleaning. | Artur Grabowski | |
2003-06-02 | nuke clause 3 & 4 | Jason Wright | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-02 | - section reorder | Jason McIntyre | |
- put whitespace before punctuation in macro | |||
2003-05-30 | Move env setup to its own function, works around compiler problem on sparc | Dale Rahn | |
LD_NORANDOM is now disabled on issetugid(). | |||
2003-05-30 | knf | Theo de Raadt | |
2003-05-30 | Unbreak tree for sparc, zapping ld_norandom strangely has a bad affect, | Dale Rahn | |
killing ld.so. | |||
2003-05-30 | Fix botch in tag array indexing. deal with 0 - DT_NUM, | Dale Rahn | |
DT_LOPROC - DT_LOPROC+DT_PROCNUM, and no other values. | |||
2003-05-30 | zap LD_NORANDOM on issetugid() binaries. | Dale Rahn | |
2003-05-30 | When loading a shared object or libraries dependant object, load them | Dale Rahn | |
in random order. This will reduce the possiblity of a buffer overflow being able to predict the addresss of useful code. Can be disabled with the LD_NORANDOM environment variable for debugging purposes. ok deraadt. | |||
2003-05-08 | Previously, ld.so would use a single page for mapping the hints file | Todd C. Miller | |
and then, if that was not big enough, map the rest of it contiguously. However, there is no guarantee that the address space after the first mmap has not already been used by something else. Instead, just fstat the file and map up to st_size. Also reorganized the code a tad and added some sanity checks for st_size. Problem tracked down by dhartmei@ and mickey@; drahn@ OK. |