summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Collapse)Author
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
2004-05-24Change define used to deal with PLT protection, use postive logic not negative.Dale Rahn
ok mickey@
2004-05-22Dont print symcache statistics if no symbol lookups have occurred, ok mickey@Dale Rahn
2004-05-18fix includes scoping; drahn@ okMichael Shalayeff
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-25Fix this assumed sizeof(long) == 4 error. Would very occasionally causeDale Rahn
the code to attempt to zero 4 bytes of the next page.
2004-02-23prettyTheo de Raadt
2004-02-23Set the user variable environ early in ld.so so that library constructors canDale Rahn
properly see the environment. Fixes problem with MALLOC_OPTIONS on dynamic executables. ok deraadt@
2004-02-10Make this work. will figure out what this should be later.Dale Rahn
2004-02-10Fix/enable lazy binding on amd64 ld.soDale Rahn
2004-02-10Disable lazy binding for now.Dale Rahn
2004-02-10sync with reloc.h change.Dale Rahn
2004-02-10AMD64 dynamic linker. initial work by mickey finished up by myself.Dale Rahn
lazy binding not working yet. problem exists with gcc and -fpic jump tables. ok mickey@