summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Collapse)Author
2005-06-16remove whiteout stuff from ld.so's private opendir(); OK deraadt@Todd C. Miller
2005-05-31removed unused var, pointed out by wilfried@Dale Rahn
2005-05-30unload is not to be recursive anymore, previous diff change method butDale Rahn
this code was missed, fixes issue seen by tedu and millert hopefully php too.
2005-05-23fixes for dlclose, ok kettenis@Dale Rahn
2005-05-10Recommit the destructor order fix, now that the amd64 bug was fixed.Dale Rahn
'no problem' pval@
2005-05-04%rsi is not callee save, use source register that is saved across callDale Rahn
This also allows propolice to be enabled in ld.so for amd64 ok marco@ weingart@
2005-04-06backout -- breaks at least amd64; spotted by marcTheo de Raadt
2005-04-05Do a better job of running destructors in the right order.Dale Rahn
2005-03-23Code reorganization, move copied code in library.c and library_mquery.cDale Rahn
into its own file. no functional change.
2005-03-22fix PR3944 on i386 (ugh), from library.cDale Rahn
-- Fix some problems related to LD_LIBRARY_PATH parsing where it would not correctly deal with current directory searches specified by "::", ":foo" or "foo:" -- ok mickey@
2005-03-08Do not shadow a parameter with a local variable. also add a debug statementDale Rahn
to print dependandant libraries loaded by dlopen ok kurt@
2005-03-07Fix bug not calling callback for the main executable object.Mark Kettenis
ok drahn@, espie@
2005-01-09set %dp before any constructors get to run; found and debugged w/ niklas@Michael Shalayeff
2004-12-01fix dlsym(RTLD_NEXT,...) when called from the last shared objectKurt Miller
loaded. ok drahn@
2004-11-22.{N,O}x fixes;Jason McIntyre
2004-11-10use ${STATIC} rather than -static. ok miodDale Rahn
2004-10-17Fix some problems related to LD_LIBRARY_PATH parsing where it would notDale Rahn
correctly deal with current directory searches specified by "::", ":foo" or "foo:"
2004-10-14Add dl_iterate_phdr() support.Mark Kettenis
ok drahn@, millert@
2004-10-01Fix GOT reloc which had flaws in reloc processing.Per Fogelstrom
Big thanks to Mark Kettenis for finding the problem!
2004-09-30handle unaligned in local relocs as well (c++)Per Fogelstrom
2004-09-23When doing relocs to .rodata this section must be RW protected.Per Fogelstrom
It would be nice to fix this so it does not do a mprotect call for each and every reloc but it will need a change in MI code so we just fix it like this for now. There are not so many relocs in ld.so itself.
2004-09-21Automatically adapt to actual text/data alignmentPer Fogelstrom
2004-09-21ELF64 and got ro protPer Fogelstrom
2004-09-09ABI64 shared libs now handled.Per Fogelstrom
2004-08-30minimal documentation for LD_DEBUG.Marc Espie
okay millert@, miod@
2004-08-14When reading the ld.so hints file, map the entire file in a single mmapDale Rahn
instead of assuming the region after the first mmap is available. Same change was made to ELF ld.so previously. ok deraadt miod pvalchev
2004-08-13Cast to Elf_Addr to remove warnings of ELF types(int)/pointer, ok david@Dale Rahn
2004-08-11add dladdr() support and add some 'standard' dlsym() support.Dale Rahn
ok millert miod pval, grumble deraadt
2004-08-11revert, should not have gone inPer Fogelstrom
2004-08-11mips->mips64Per Fogelstrom
2004-08-09bang! no reloc.hPer Fogelstrom
2004-08-06update for mipsPer Fogelstrom
2004-08-06update for mipsPer Fogelstrom
2004-07-05Fix an issue where a shared library could be loaded at two differentKjell Wooding
locations by resolving all dlopens back to a dev/inode. i.e. Don't load a library if the dev/inode it stats back to matches one already in our list. fix started (and ok'ed) drahn@. ok deraadt@. "doesn't break anything yet" pval@ art@ brad@
2004-06-14Make _dl_malloc() deal with allocations > 4096 correctly. Also placeTodd C. Miller
unused memory chunks on the free list when making a large allocation. OK drahn@ deraadt@
2004-06-07use the func args and not the key material to init a new plabelMichael Shalayeff
2004-06-07fixup the dlsym() return to produce a callable address (plabel) and move one ↵Michael Shalayeff
comment closer to the code it talks about earlier; drahn@ ok
2004-06-07debugging notify that dlopen() has finished as it was said when it had ↵Michael Shalayeff
started; drahn@ ok
2004-06-07better debugging printfs for init/fini fixupsMichael Shalayeff
2004-06-01need to fixup for empty pltgot (weak regress is a test for it)Michael Shalayeff
2004-05-27fake plabel32 relocs for dyn.init/fini instead of an evil md macro hookMichael Shalayeff
2004-05-26allow md makefile to supply LDADD; drahn@ okMichael Shalayeff
2004-05-26call ctors after debugging has been setup; drahn@ okMichael Shalayeff
2004-05-25spacesTheo de Raadt
2004-05-25md parts for hppaMichael Shalayeff
2004-05-25provide one version of _dl_bcopy instead of copy in every arch; drahn@ okMichael Shalayeff
2004-05-25use md hook for calling init/fini if defined; only say running ctors/dtors ↵Michael Shalayeff
if they are there; drahn@ ok
2004-05-25return object* the symbol is in for _dl_find_symbol*; drahn@ okMichael Shalayeff
2004-05-25spacingTheo de Raadt
2004-05-24doing 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