summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Collapse)Author
2006-12-23Spelling.Kenneth R Westerback
'preceeding' -> 'preceding' 'preceeds' -> 'precedes' 'preceeded' -> 'preceded'
2006-12-21'immediatly' -> 'immediately' in comments.Kenneth R Westerback
2006-11-21Fill in load/end address for binary.Dale Rahn
2006-11-15failed to purge doubled up environment variables; found by Mark DowdTheo de Raadt
ok miod
2006-11-14stack corruption was fixed a while ago.Dale Rahn
2006-11-14cleanup pointed out by miod@Dale Rahn
2006-11-13Let this build on landisk.Dale Rahn
2006-11-11when calculating envp, skip over the NULL between argv and envp.Dale Rahn
2006-11-11remove '#if 0' block.Dale Rahn
2006-11-11Working?Dale Rahn
2006-11-10dont want to know where this stack corruption is coming from.Dale Rahn
2006-11-10better...Dale Rahn
2006-11-10Getting much closer.Dale Rahn
2006-11-10Not quite working ld.so support for shDale Rahn
2006-10-28Only mprotect pages during relocation if the library is marked TEXTRELDale Rahn
mips64 version still needs testing.
2006-09-26switch alpha to gcc3; joint work with drahn@ and brad@Martin Reindl
ok drahn@ brad@ mickey@ deraadt@
2006-09-24Fill in the list of loaded segments for the main executable such that we canMark Kettenis
unprotect them if necessary for binaries that have TEXTREL set. ok drahn@, martin@
2006-08-23Support arm libraries with DT_TEXTREL, has no affect for other libraries.Dale Rahn
ok kettenis, 'in then' deraadt@
2006-08-12spelling: elminateKevin Steves
2006-08-06Do not take shortcuts when the PLT size is 0; makes emacs work again on alpha.Mark Kettenis
ok drahn@
2006-08-06Work around an issue found when working with gcc3 on alpha,Dale Rahn
gcc2 nomally calls functions thru the gp (basically a function pointer), but gcc3 frequently calls directly to the plt. gcc2 does occasionally directly call to the plt. Currently how the plt/pltgot is fixed up on lazy binding, this will cause the dl_bind code to be called on each plt call causing a symbol resolution and plt fixup. This diff works around the problem partially by recognizing that a pltgot entry is already fixed and skips the symbol resolution. Since the pltgot is what is modified do not add PROT_EXEC permission to the mapping. While this is not an ideal fix, kettenis and I think it is better than before.
2006-07-28Only stop processing prebind deletion if an actual error occurs.Dale Rahn
2006-07-08jmc and I both pronounce ldconfig as ell-dee-config, so it should beMichael Knudsen
`an ldconfig utility', not `a'.
2006-06-26build cleanly with -Wall -WerrorDale Rahn
2006-06-22These two env vars don't have a `=' in their name.Michael Knudsen
ok jmc
2006-06-19sort usage();Jason McIntyre
2006-06-19tweak the -S stuff;Jason McIntyre
2006-06-16Add comment warning not to rename _dl_bind, since gdb(1) knows about it.Mark Kettenis
ok (quite a while ago) drahn@
2006-06-15When writing a TXTBUSY file, make certain to preserve all file metadata,Dale Rahn
also add -S flag, like install's -S flag to safely perform operations. Getting it in so it gets tested.
2006-05-18spacingTheo de Raadt
2006-05-17prep prebind_newfile() for reuse by dale in prebind; ok drahnTheo de Raadt
2006-05-14use __mips64__Theo de Raadt
2006-05-13some knf and delinting; ok drahnTheo de Raadt
2006-05-13spacingTheo de Raadt
2006-05-12do not call abort()Theo de Raadt
2006-05-12document new -P optionTheo de Raadt
2006-05-12move the prebind code into ldconfig as the -P option.Theo de Raadt
next we will want to enhance the verbose mode, fix error handling, and change the prebind delete code to use the same directory handling code ok drahn
2006-05-12Commit the rest of the api change that started in prebind.Dale Rahn
2006-05-12fix 'merge mode'.Dale Rahn
#if 0 removal
2006-05-12Major code rewrite, now uses about 1/6th of the memory it used before.Dale Rahn
produces logically the same output (just a few fields reordered).
2006-05-12one less Ar;Jason McIntyre
2006-05-11use CFLAGS with -I to reach for prebind.hTheo de Raadt
2006-05-11move prebind_strip(8) into ldconfig as the -D option; ok drahnTheo de Raadt
2006-05-11move the DESIGN section into the main body of the text, plus tweaks;Jason McIntyre
2006-05-10fix a bunch of missing [mc]alloc failure checks by using xcalloc/xmalloc,Dale Rahn
also a couple of invalid allocation/references while at it.
2006-05-10pretty this up; ok drahnTheo de Raadt
2006-05-08prettierTheo de Raadt
2006-05-08more spacingTheo de Raadt
2006-05-08de-spaceTheo de Raadt
2006-05-07Initialize oprebind_data so that unintialized memory is not referenced.Dale Rahn
caught by niallo