summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Collapse)Author
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@
2004-02-10Check for RTLD_TEXT_PLT define instead of an architecture specific check.Dale Rahn
2004-02-09Enable lazy binding on arm:Dale Rahn
_dl_bind_start inspired by netbsd. changed a define to LD_ALLOW_WRITABLE_TEXT, should this be allowed? remove plt protect code, arm has a text PLT. relocate the got entries associated with the plt. perform got protect/unprotect for lazy binding updates.
2004-02-09Use macros to reduce the amount of hand written asm. inspired by future amd64Dale Rahn
code. no functional change.
2004-02-09Disable lazy binding until that feature is fixed.Dale Rahn
2004-02-07Dynamic linker support for arm. non-lazy binding works.Dale Rahn
2004-01-12GCC3 compatible asm code. tested on gcc2 myself. ok brad@Dale Rahn
2004-01-10the sparcv9 ABI requires registers %g2, %g3 to be first announced beforePeter Valchev
it can use them, and gcc3 catches this ok henric
2003-12-03Move the asm definition of _dl__syscall from a header file into a .c fileDale Rahn
so that 12 copies of it are not generated.
2003-11-21oops, it wasn't that diff that tedu@ ok'd - revert for nowDamien Miller
2003-11-21add output file and path stripping options useful for pre-generatingDamien Miller
ld.so.hints for dynamic ramdisks. idea from markus@ manpage nits jmc@ ok tedu@
2003-11-20remove -Werror from userland builds, to give us a chance toAnil Madhavapeddy
use more verbose warning options if desired. ok millert@, henning@, david@
2003-11-11Better fix to the library name parsing. now correctly handlesDale Rahn
libpython2.2.so.0.0 vs libpython2.1.so.0.0. Clean up a potential memory leak if the filename is not a valid library. ok brad@
2003-10-26Work around a problem with shared libraries named as libX-A.B.so.X.Y.Dale Rahn
Without this patch, the standard major:minor version matching failed. ok brad@
2003-10-20document shlib_dirs; from Han Boetes (different diff used, though);Jason McIntyre
ok drahn@
2003-10-17double `the the';Jason McIntyre
2003-10-04breaks on sparcTheo de Raadt
2003-10-03Initialize environ before calling constructors or atexit.Dale Rahn
Tested by tedu, no real ok.
2003-10-01Add break statements in switch missing from revision 1.32.Todd C. Miller
2003-09-26- smaller list widthJason McIntyre
- <> -> .Aq - macro cleanup - also kills a (new) groff warning
2003-09-25dlerror(3) should clear _dl_errno; based on a patch from Bjorn Sandell.Todd C. Miller
Closes PR 3441; drahn@ OK
2003-09-05Put in workaround for alpha so that non-lazy binding seems to work,Dale Rahn
however it is using some of the lazy binding values. With this patch LD_BIND_NOW=yes make does not core. ok deraadt@
2003-09-04- document LD_BIND_NOWJason McIntyre
- new sentence, new line - comment out comments patch from (and ok) drahn@
2003-09-04Fix W^X mistake. If the dynamic linker is workin in non-lazy mode, itDale Rahn
should still mprotect the GOT and PLT as appropriate. ok deraadt@ miod@