summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Collapse)Author
2002-07-24use real clones of the libc functionsTheo de Raadt
2002-07-24ok i found itTheo de Raadt
2002-07-24back out broken stuff until it is fixedTheo de Raadt
2002-07-24spacingTheo de Raadt
2002-07-24make more _dl_*() func params like real ones in libcTheo de Raadt
2002-07-24cope with _dl_mmap() returning void *Theo de Raadt
2002-07-24make _dl_mmap() return void * like othersTheo de Raadt
2002-07-23match _dl_ syscall prototypes w/ the real syscalls prototypes, including ↵Michael Shalayeff
args and return values; art@ ok
2002-07-12Change 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-07-07typos/grammar/better wordsJan-Uwe Finck
in comments.
2002-06-07move load_offs out of the link_map area.Artur Grabowski
2002-06-05Cleanup/remove duplicate code that checks STAT_RELOC_DONE.Artur Grabowski
2002-06-05Get rid of an unnecessary typedef (for future cleanup).Artur Grabowski
2002-06-03Proper masks for 64 bit relocation types. ok art@Dale Rahn
2002-05-28libdl is not used anymore. Remove these as the support is now in libc.Dale Rahn
2002-05-28KNFTheo de Raadt
2002-05-28issetugid() test earlierTheo de Raadt
2002-05-28unused variable in latest commitTheo de Raadt
2002-05-28Remove LD_LIBRARY_PATH completely from environment, as per ldconfig manpage.Dale Rahn
ok deraadt@
2002-05-28proto _dl_show_objects() in one placeTheo de Raadt
2002-05-28more KNFTheo de Raadt
2002-05-27KNFTheo de Raadt
2002-05-27left over __P removalsTheo de Raadt
2002-05-25use _dl_strncmp() not strncmp(), _dl version is already present and used.Dale Rahn
2002-05-25_dl_strcmp() and _dl_strchr() exist, do not pull these routinesDale Rahn
from libsa source.
2002-05-24Replace strcpy() with strlcpy().Dale Rahn
2002-05-24Change _dl_strcpy() to _dl_strlcpy(), implementation taken from libc.Dale Rahn
2002-05-24not needed; deraadt@ okFederico G. Schwindt
2002-05-24more KNFTheo de Raadt
2002-05-24more KNFTheo de Raadt
2002-05-24various KNFTheo de Raadt
2002-05-24remove another unneeded functionTheo de Raadt
2002-05-24replace some wrapper functions w/ no license w/ some public domain ones.Eric Jackson
deraadt@ ok
2002-05-23This stuff has no license. Delete it. If someone wants it back, get the ↵Theo de Raadt
licenses cleaned up, and put it in regress
2002-05-23remove _dl_sprintf(). nothing uses it. and if it is gone, nothing canTheo de Raadt
2002-05-22a bunch more strcpy -> strlcpy and sprintf -> snprintfTheo de Raadt
2002-04-29Clean up RELOC_RELATIVE reloction type, do correct relocation insteadDale Rahn
of incorrect symbol handling for it. RELOC_RELA() is not a macro, so remove extra () from the code, try to print error and exit if unknown relocation type is encountered.
2002-04-24Perform full relocation for Rela bootstrap relocations, compatibleDale Rahn
with newer binutils this way. ok fgs, jason.
2002-04-09Add the Copyrights from the respective files the code came from. ok deraadt@Dale Rahn
2002-03-31Do not run static constructors when run from ldd. ok theo, art, espie, pefoDale Rahn
2002-03-17Clean up building of debug_map. mips and non-mips can moreArtur Grabowski
or less share the same code.
2002-03-17Remove hackery I added to deal with dlopen(NULL), handle it in a reasonablyDale Rahn
sane manner. This and the previous resolve.c change art@ ok
2002-03-17Keep _dl_last_object in sync with reality if last element in list is deleted.Dale Rahn
allocated memory is not necessarily 0ed, make sure next pointer is inited.
2002-03-17Clean up the zapping of bad variables. Instead of implementingArtur Grabowski
_dl_suid_ok, just use the issetugid syscall. ok drahn@.
2002-03-15Add support for binutils 2.11. Work around change in PLT generation new ldDale Rahn
generates. From NetBSD. ok art@
2002-03-07call the r_brk function in dlopen/dloclose on all archs,Artur Grabowski
not just mips.
2002-03-07Add a debug printf for the entry point just before returning to MD code.Artur Grabowski
2002-02-21cleanup of MD/MI ld.so (elf), most changes by art@ cleanup by me.Dale Rahn
tested on alpha sparc64 powerpc.
2002-02-20Fix obvious pasto: when iflush'n flush 24,20,16,... not 20,16,16,...Jason Wright
2002-02-20err/warn strings don't need \n'sJason Wright