Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-24 | Change define used to deal with PLT protection, use postive logic not negative. | Dale Rahn | |
ok mickey@ | |||
2004-05-22 | Dont print symcache statistics if no symbol lookups have occurred, ok mickey@ | Dale Rahn | |
2004-05-18 | fix includes scoping; drahn@ ok | Michael Shalayeff | |
2004-02-27 | change amd64's MACHINE_ARCH from x86_64 to amd64. There are many many | Theo de Raadt | |
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now. | |||
2004-02-25 | Fix this assumed sizeof(long) == 4 error. Would very occasionally cause | Dale Rahn | |
the code to attempt to zero 4 bytes of the next page. | |||
2004-02-23 | pretty | Theo de Raadt | |
2004-02-23 | Set the user variable environ early in ld.so so that library constructors can | Dale Rahn | |
properly see the environment. Fixes problem with MALLOC_OPTIONS on dynamic executables. ok deraadt@ | |||
2004-02-10 | Make this work. will figure out what this should be later. | Dale Rahn | |
2004-02-10 | Fix/enable lazy binding on amd64 ld.so | Dale Rahn | |
2004-02-10 | Disable lazy binding for now. | Dale Rahn | |
2004-02-10 | sync with reloc.h change. | Dale Rahn | |
2004-02-10 | AMD64 dynamic linker. initial work by mickey finished up by myself. | Dale Rahn | |
lazy binding not working yet. problem exists with gcc and -fpic jump tables. ok mickey@ | |||
2004-02-10 | Check for RTLD_TEXT_PLT define instead of an architecture specific check. | Dale Rahn | |
2004-02-09 | Enable lazy binding on arm: | Dale Rahn | |
_dl_bind_start inspired by netbsd. changed a define to LD_ALLOW_WRITABLE_TEXT, should this be allowed? remove plt protect code, arm has a text PLT. relocate the got entries associated with the plt. perform got protect/unprotect for lazy binding updates. | |||
2004-02-09 | Use macros to reduce the amount of hand written asm. inspired by future amd64 | Dale Rahn | |
code. no functional change. | |||
2004-02-09 | Disable lazy binding until that feature is fixed. | Dale Rahn | |
2004-02-07 | Dynamic linker support for arm. non-lazy binding works. | Dale Rahn | |
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 | |