Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-03 | add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. Functionality | Jason Wright | |
matches and expands on the old a.out ld.so formatting. ok drahn | |||
2007-04-02 | Since the kernel allows argv[0] == NULL, dont core in ld.so | Dale Rahn | |
diff from Matthew Dempsky, with reminder from theo. | |||
2007-01-28 | revert 1.108, the diff allowed ldd to print the load address of the binary, | Dale Rahn | |
however this modified variables used by C++ backtrace code which caused it to crash. ok kettenis | |||
2006-11-21 | Fill in load/end address for binary. | Dale Rahn | |
2006-11-15 | failed to purge doubled up environment variables; found by Mark Dowd | Theo de Raadt | |
ok miod | |||
2006-11-10 | Getting much closer. | Dale Rahn | |
2006-11-10 | Not quite working ld.so support for sh | Dale Rahn | |
2006-09-24 | Fill in the list of loaded segments for the main executable such that we can | Mark Kettenis | |
unprotect them if necessary for binaries that have TEXTREL set. ok drahn@, martin@ | |||
2006-05-08 | more spacing | Theo de Raadt | |
2006-05-08 | de-space | Theo de Raadt | |
2006-05-03 | prebind - how to prelink a binary without throwing security out the window | Dale Rahn | |
Prelink fixes the address of libraries making 'return to libc' attacks trival, prebind uses a different method to achieve most of the same gains, however without adding any security conerns. Still under development, now in-tree. | |||
2005-11-09 | add RTLD_NOW support to dlopen and propogate -z now to dep libs. | Kurt Miller | |
ok drahn@ | |||
2005-10-21 | using _dl_link_grpsym to increment refcounts made _dl_notify_unload_shlib | Kurt Miller | |
simpler, however it broke ldd refcount output. use _dl_link_child to increment refcounts and adjust _dl_notify_unload_shlib to match. work by drahn@ and myself. ok drahn@ | |||
2005-10-16 | Consolidate dl_boot and dlopen dep lib loading into new function | Kurt Miller | |
_dl_load_dep_libs. Now both dl_boot and dlopen will randomize dep lib loading, where previously only dl_boot did. | |||
2005-10-12 | Split grpsym_list creation away from child_list creation and change | Kurt Miller | |
grpsym_list order to match Sun's docs. Also corrects bugs where grpsym_list was either not created or partially created. | |||
2005-10-10 | set _dl_loading_object to NULL upon entering and exiting _dl_boot and | Kurt Miller | |
dlopen and cleanup of related redundant code. looks fine drahn@ | |||
2005-10-09 | introduce object ref count macros (suggested by dale). no functional | Kurt Miller | |
change. | |||
2005-10-07 | rename dload_list to grpsym_list which better represents its usage. | Kurt Miller | |
2005-10-06 | separate load group references from dep lib child/dload lists. move load | Kurt Miller | |
group refs to own per object ref counter (grprefcount) and list (grpref_list). corrects more complex load group ref cases and side effects from initial implementation. design ideas and ok drahn@ | |||
2005-10-03 | refcount corrections: count common dep libs once and centralize dep lib | Kurt Miller | |
refcount increments to _dl_link_sub. adjust _dl_notify_unload_shlib to match new refcount method. ok drahn@ | |||
2005-09-28 | remove _dl_exiting dead code | Kurt Miller | |
2005-09-22 | Track if symbols are searched but missing while resolving GOT, if | Dale Rahn | |
any are missing exit instead of later causing an abort, ok kurt@ | |||
2005-09-21 | Simplify the internal symbol finding API, with some cleanup, prep for | Dale Rahn | |
next step. ok kurt@ | |||
2005-09-19 | simplify code by putting executable in misnamed _dlopened_child_list, | Dale Rahn | |
also move RTLD_NEXT/RTLD_SELF code into that code, it is a single test. okay kurt@ | |||
2005-09-16 | Rework symbol lookup to more closely match sun's documentation, now | Dale Rahn | |
treats dlopens as load groups. ok kurt@ | |||
2005-05-10 | Recommit the destructor order fix, now that the amd64 bug was fixed. | Dale Rahn | |
'no problem' pval@ | |||
2005-04-06 | backout -- breaks at least amd64; spotted by marc | Theo de Raadt | |
2005-04-05 | Do a better job of running destructors in the right order. | Dale Rahn | |
2004-08-11 | revert, should not have gone in | Per Fogelstrom | |
2004-08-11 | mips->mips64 | Per Fogelstrom | |
2004-05-27 | fake plabel32 relocs for dyn.init/fini instead of an evil md macro hook | Michael Shalayeff | |
2004-05-26 | call ctors after debugging has been setup; drahn@ ok | Michael Shalayeff | |
2004-05-25 | md parts for hppa | Michael Shalayeff | |
2004-05-25 | use md hook for calling init/fini if defined; only say running ctors/dtors ↵ | Michael Shalayeff | |
if they are there; drahn@ ok | |||
2004-05-25 | return object* the symbol is in for _dl_find_symbol*; drahn@ ok | Michael Shalayeff | |
2004-05-25 | spacing | Theo de Raadt | |
2004-05-24 | doing ldd exit asap -- move all other tasks towards after it. | Michael Shalayeff | |
call atext(_dl_dtors) at the very end -- allows debuggering it. drahn@ ok | |||
2004-05-24 | Change define used to deal with PLT protection, use postive logic not negative. | Dale Rahn | |
ok mickey@ | |||
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 | Check for RTLD_TEXT_PLT define instead of an architecture specific check. | Dale Rahn | |
2004-02-07 | Dynamic linker support for arm. non-lazy binding works. | Dale Rahn | |
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-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-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-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-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-06-03 | Disable random library ordering, this seems to be exposing bugs in other code. | Dale Rahn | |