summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Collapse)Author
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-30libexec man page fleshing. again, bored on the plane home.Aaron Campbell
2000-10-19Fix bug in dl_strcmp, it is not always legal to access a pointerDale Rahn
at offset -1, the code that was here was very odd, the corrected code was basically copied from the libsa version.
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-10-13Add secondary c++ shared library for testing purposes to verifyDale Rahn
that appropriate constructors in each library are called.
2000-10-13Makefile:Dale Rahn
build with ${CC} -shared like the rest of shared libraries do now, instead of using ${LD}. Other files: make output more useful so that it is possible to tell if a constructor/destructor is running the correct number of times.
2000-10-06Work around a shared library/pmap bug on the powerpc arch. SomehowDale 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-10-01Sync the cache as specified by the powerpc manuals, didn't change anything.Dale S. Rahn
but is more correct.
2000-10-01Fix some very serious cut and paste errors in this code.Dale S. Rahn
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-09-08PowerPC does not need to build this -Wall, if other archs would not.Dale S. Rahn
2000-08-25Cleanup of powerpc ld.so files.Dale S. Rahn
instead of #if 0, make them potentially useful -> LD_PRINTF_DEBUG Deal with _dl_suid_ok correctly, this is not something that should be hardcoded. - pointed out a few weeks ago.
2000-08-09Remove target file, only source should be "source" controlled.Dale S. Rahn
2000-07-08Add id and header describing contents.Dale S. Rahn
2000-07-06Insert missing .El directives.Aaron Campbell
2000-06-13Updated version of ld.so, contains additional functionality and fixes/Dale S. Rahn
design changes required by egcs. added support for ldconfig/ld.so.hints changes to low level relocation code, required by egcs pic code generation that moved global variable loads to before the self relocation was performed. Only powerpc supported, mips code not updated. Code cleaned up somewhat reasonably. This code needs to be reviewed closely for significant problems such as correctness and security.
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.