summaryrefslogtreecommitdiff
path: root/libexec/ld.elf_so/rtld.c
AgeCommit message (Expand)Author
2003-09-07Back out revision 1.100. There is something screwier going on.mycroft
2003-08-31dlsym() should not leave an error set. It confuses programs that checkmycroft
2003-08-12Resolve dlsym(3) and friends directly so that dlsym(RTLD_NEXT,...) works.skrll
2003-07-24ANSIfy and de-__P().skrll
2003-07-21arm and sh5 also have bogus DT_TEXTRELs. sh5 was already covered so justskrll
2003-07-17Correct the in_plt parameter of a couple of _rtld_find_symdef calls.skrll
2003-06-30SH also has a bogus DT_TEXTREL, it seems.marcus
2003-06-05KNF- blank lines before code at start of functions.simonb
2003-05-30Add RTLD_FIRST, RTLD_NEXT, RTLD_DEFAULT, from FreeBSDchristos
2003-04-24Back out previous change for now -- it needs more work.mycroft
2003-04-23Attempt to give dlsym() the same symbol-searching semantics as _rtld_bind().mycroft
2002-12-14Gracefully exit when invoked directly. Use of assert() here caused a segfault.junyoung
2002-12-05A bit speedup: in _rtld_load_object(), save the number of calls tojunyoung
2002-11-24For the debug case, print relocbase as well at the start of _rtld().fvdl
2002-10-05Minor cleanup.mycroft
2002-10-04Rearrange _rtld_map_object() a little, so that we don't have to have the firstmycroft
2002-10-04Move the definition of _rtld_list_main so ldd builds again.mycroft
2002-10-03As seen on tech-userlevel...mycroft
2002-10-03Do not put objects on _rtld_list_main on any DAG member list -- any symbol wemycroft
2002-09-26Implement a self-relocate function for the VAX.mycroft
2002-09-26Remove the `self' args to _rtld_relocate_objects() andmycroft
2002-09-26Clean up _rtld_init() -- there is no need to avoid globals.mycroft
2002-09-26Hm, the const isn't going to work.mycroft
2002-09-26Do not attempt to free(_rtld_objself.path) -- it's a pointer into our datamycroft
2002-09-25#if defined -> #ifdefmycroft
2002-09-24Put back the `in_plt' nonsense for now.mycroft
2002-09-24Touch up a little more -- some of the dbg()s never actually printed anything.mycroft
2002-09-24Previous change was done wrong.mycroft
2002-09-24Make sure that dbg() is disabled if LD_DEBUG is not defined. Nowjunyoung
2002-09-24Change the comment about l_offs.mycroft
2002-09-24Remove '\n' at the end of dbg strings.junyoung
2002-09-24END_SYM is no longer used.junyoung
2002-09-24Use/require AT_PAGESZ on all platforms. (The kernel has exported it for ~3mycroft
2002-09-24Um, a little bit of sanity here:mycroft
2002-09-23Several small changes that shave 7-8% off the simple-exec-loop test:mycroft
2002-09-21Print the name of dynamic linker actually loaded.junyoung
2002-09-20Cosmetic changes (long lines).junyoung
2002-09-19don't core dump setting progname if argv[0] == NULL. From xs@kittenz.orgchristos
2002-09-13The textrel special case is only needed for MIPS (due to a bug in BFD).mycroft
2002-09-13Kill the sparc64 argc conversion hack.mycroft
2002-09-13Nuke an unneeded hack for the Alpha.mycroft
2002-09-12Nuke -DRTLD_RELOCATE_SELF and `dodebug' from orbit.mycroft
2002-09-12ld.elf_so has no textrels on arm, i386 or vax -- and shouldn't on any platform,mycroft
2002-09-12Add a `relocbase' argument to _rtld() and _rtld_init(), which is passed inmycroft
2002-09-11This is a gratuitous null commit to force rtld.o to be rebuilt.mycroft
2002-09-06Pass down an additional flag to _rtld_relocate_nonplt_objects() whichmycroft
2002-09-06Remove typedef which was never used. Meaningless comment as well.junyoung
2002-09-05Remove all of the `mark' code. This is responsible for the `undefined PLTmycroft
2002-08-26save 4 system calls by using AT_{R,E}{U,G}ID.christos
2002-08-09Remove extraneous \n's in {err,warn}{,x}.soren