summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Collapse)Author
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
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11libdl is no moreArtur Grabowski
2001-12-07kill more registers;Mike Pechkin
millert@ ok
2001-11-20bye bye, libdlPeter Valchev
2001-11-13o) fix bogus .Xr usage;Mike Pechkin
o) start new sentence on a new line; o) don't use .Xr instead of .Pa tag; o) minimal -mdoc design fixes; millert@ ok;
2001-11-06Since the header of the file map is Start End,Dale Rahn
print the end address, not the size.
2001-10-24getopt(3) returns -1 when out of args, not EOF.Mike Pechkin
millert@ ok
2001-09-29Change method of determining object type, does better bounds checking,Dale Rahn
and fixes a bug on sparc64 "ELF" for type. ok art@.