Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-07-18 | Fix print if minor of library used is is less than requested. ok tdeval@ | Dale Rahn | |
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-22 | Dynamic linking random order fixes. This enables random library ordering. | Dale Rahn | |
Tested by naddy@ and others. | |||
2003-06-09 | pefo 3/4 licence cleanups | Theo de Raadt | |
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-02-02 | knf & ansi; drahn ok | Theo de Raadt | |
2003-01-30 | Change the constructor execution order to initialize dependant libraries | Dale Rahn | |
first. This mirrors the commit espie put in a.out ld.so recently. | |||
2002-12-13 | Compare to ELFMAG byte by byte rather than using full fledged function. | Dale Rahn | |
Also avoids a gas problem for the moment. | |||
2002-11-17 | Terminate printed strings with newlines. | Dale Rahn | |
2002-08-08 | There was a possible off-by-one in ld.so when loading shared libraries. | Artur Grabowski | |
In some (rare?) cases, where the bss was too small and fit entirely into the leftovers of the data segment we could map one extra page. This is slightly dangerous on PMAP_PREFER machines where mmaps allocations do not happen linearly in the virtual space and we could end up overwriting mappings that are already in use. This also changes the initial allocation from being a MAP_ANON to a MAP_FILE so that we can pass the fd as a PMAP_PREFER hint. | |||
2002-07-24 | ok i found it | Theo de Raadt | |
2002-07-24 | back out broken stuff until it is fixed | Theo de Raadt | |
2002-07-24 | spacing | Theo de Raadt | |
2002-07-24 | cope with _dl_mmap() returning void * | Theo de Raadt | |
2002-07-23 | match _dl_ syscall prototypes w/ the real syscalls prototypes, including ↵ | Michael Shalayeff | |
args and return values; art@ ok | |||
2002-07-12 | Change ld.so search order/method to match the a.out ld.so. | Dale Rahn | |
run destructors on dlclose() Move more symbols into _dl_ private space, so that the proper (libc) version of the function will be used. Add readdir() functionality to perform the proper library searching. Support DL_PRELOAD Do not relocate symbols if ld.so is being traced (and will exit). Misc lint cleanup. ok art@ | |||
2002-06-05 | Get rid of an unnecessary typedef (for future cleanup). | Artur Grabowski | |
2002-05-28 | more KNF | Theo de Raadt | |
2002-05-24 | Change _dl_strcpy() to _dl_strlcpy(), implementation taken from libc. | Dale Rahn | |
2002-05-24 | more KNF | Theo de Raadt | |
2002-05-24 | various KNF | Theo de Raadt | |
2001-09-22 | Do not check for ':' twice, otherwise the rpath loses the first character | Dale Rahn | |
after the : in the list of paths. | |||
2001-08-21 | Fix up comment to indicate order that libraries in which the | Dale Rahn | |
libraries are actually searched. | |||
2001-08-06 | Change the priority of LD_LIBRARY_PATH, -rpath, and ldconfig path | Dale Rahn | |
in ELF ld.so to match the behavior in a.out ld.so. The given order is the new order, previously ldconfig had highest priority, which made it impossible to override. | |||
2001-05-31 | random indentation fixes (needs much more work). | Artur Grabowski | |
2001-05-11 | MAP_COPY -> MAP_PRIVATE | Artur Grabowski | |
2001-04-02 | Cleanup for 64bit support. | Dale Rahn | |
Pieces by art, niklas and me. Only tested on powerpc. | |||
2001-03-30 | Add infrastructure to allow mapping of text sections which are normally | Dale Rahn | |
RO, RW while ld.so is working. And then the information to set the sections back to RO (or appropriate mode). PowerPC now supports the typical NON-PIC relocations in ld.so. I do not know how well this will work with large shared libraries. I seem to recall a possible problem with large data where data is located in a different shared library. | |||
2001-02-16 | Now that powerpc is using UVM, this shared library hack is no longer necessary. | Dale Rahn | |
2000-10-06 | Work around a shared library/pmap bug on the powerpc arch. Somehow | Dale S. Rahn | |
it seems that the instruction cache will not get properly initialized or a problem exists with mmaping code and being able to execute it. This workaround is excessive in that it flushes the cache for the entire mmaped library. This slows down program startup, but seems to eliminate the problem. | |||
2000-06-13 | Initial import of ELF ld.so. This was written indepently of the gnu rtld | Dale S. Rahn | |
code and is fully BSD copyrighted. This initial import contains a mostly working mips and partially working powerpc version. No support for ld.so.hints or system run path exists. |