summaryrefslogtreecommitdiff
path: root/libexec/ld.so/loader.c
AgeCommit message (Collapse)Author
2000-10-13Clean up static constructor/destructor discovery and calling. InsteadDale Rahn
of relying on magic variable names, reqire that the library provide the _init/_fini functions so that the linker will find them and create the DT_INIT and DT_FINI sections of the .dynamic section of the shared library. With the shared library providing the DT_INIT function pointer, it is now possible to just check the init field and call it if defined, if not defined no constructors are needed. This cleans up the code in ld.so greatly.
2000-09-17activate ldd, and indent some ld.so messages to make it easier to see what ↵Theo de Raadt
is going on
2000-09-11ldd compatibility (if we had ldd for this ld.so)Dale S. Rahn
respect the LD_TRACE_LOADED_OBJECTS environment variable, print loaded libraries and exit, do not execute program.
2000-06-13Initial import of ELF ld.so. This was written indepently of the gnu rtldDale 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.