summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Collapse)Author
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
2006-05-06While os-note-elf.h uses '.long' on the openbsd note section, theyDale Rahn
are really stored as ints. keep the variable name the same as the type. (just a variable rename)
2006-05-06If there is a conflict between two symbols, and one of the symbols is aDale Rahn
reference to the local object, go ahead and save save the local symbol in the library cache, a fixup will be generated in any binary which overrides the symbol, however, the rest of the program which do not override the symbol will not have to pay for the fixup. Cuts about of prebind data here by 32%
2006-05-06Do not write the same data to a library that is already there whenDale Rahn
using -m also allows a user to run this on their binaries if the system libraries already have prelink data.
2006-05-06improve wording somewhat.Dale Rahn
2006-05-05sigh, build on non gcc3 systems.Dale Rahn
2006-05-05Prebind should not force lazy binding to be turned off during dlopen()Dale Rahn
the presense of LD_BIND_NOW should control that. Fixes the X server.
2006-05-05various fixes up; some from michael knudsen, some from myselfJason McIntyre
2006-05-05Ignore binaries which are not OpenBSD binaries (.note section), some cleanupDale Rahn
2006-05-05Make certain that it doesn't try to load prelink info once the primary linkDale Rahn
is finished. prelink on dlopen cannot work, the symbol cache still works, just cannot be preloaded. fixes xchm.
2006-05-05Add -o <output> mode in addition to strip in place, '-' is stdout.Dale Rahn
2006-05-04Work around a problem on sparc32 (for now), some debug cleanup.Dale Rahn
2006-05-04When copying a prog reference from a lib do not put it in the common tableDale Rahn
but put a 'invalid' marker there instead.
2006-05-04Add missing copyright on header file, OpenBSD -> .Ox in manpages, thanks Dries.Dale Rahn
2006-05-04Avoid a couple of potential crashes if the input data isn't right. ok beck@Dale Rahn
2006-05-04Fix wordo, pointed out by jmc@Dale Rahn
2006-05-04Dont build/install prebind tools just yet.Dale Rahn
2006-05-03Using mmap for these is going to be trickier than I thought, go aheadDale Rahn
and do the allocation failure checks for now.
2006-05-03several fixes dealing with determining if a program or library is beingDale Rahn
processed. Also handles symlinks/hardlinks between binaries better.
2006-05-03goodbye noisy debug.Dale Rahn
2006-05-03checks that libraries are libaries and programs are programs. (needs cleanup)Dale Rahn
2006-05-03When loading 'binaries' ignore libraries.Dale Rahn
2006-05-03prebind - how to prelink a binary without throwing security out the windowDale Rahn
Prelink fixes the address of libraries making 'return to libc' attacks trival, prebind uses a different method to achieve most of the same gains, however without adding any security conerns. Still under development, now in-tree.
2006-05-03Extra paranoid, do not allow the dynamic linker to have unresolved referencesDale Rahn
as this causes much frustration as it fails to run after being installed and is a paint to recover.
2006-05-03Keep the state of the debugger constistant, let it know a the dynamicDale Rahn
linker is adding or removing a library before it does the act. Discussed with kurt@ some time ago.
2006-05-03Rewrite the ld.so syscall stubs as macros. no binary change.Dale Rahn
2006-04-11Plug memory leaks.Ray Lai
Spotted by NetBSD Coverity CID 1603, improvements by jaredy@ and otto@. OK otto@ and millert@
2006-03-24Remove telldir/seekdir support from the internal ld.so lib, it's notOtto Moerbeek
used. ok drahn@
2006-02-22No need to include <machine/elf_machdep.h>Miod Vallat
2005-12-31sort options and sync usage()Jason McIntyre