summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2002-05-24Fix ldd so it correctly handles search paths of just one entryEric Andersen
(per fix in ldso a while back), and correctly matches the search order in the shared lib loader. -Erik
2002-05-24Pass the -s to the linkerEric Andersen
2002-05-20Added more debug code."Steven J. Hill"
2002-05-20Fixed MIPS dynamic linker by removing link order dependency bug."Steven J. Hill"
2002-05-09Another mips patch from Steven J. Hill:Eric Andersen
Uh, this patch fixes a few bugs that I overlooked. Shoot, even BusyBox wouldn't work until these are applied. Erik, plop this into CVS please. Thanks.
2002-05-09Fix funky use of bracketsEric Andersen
2002-05-03No real need to make ldd.target and readelf.target be static...Eric Andersen
2002-05-02Patch from Tobias Anderberg <tobias.anderberg@axis.com> toEric Andersen
remove the .asm calls
2002-05-02Patch from Steven J. Hill <sjhill@realitydiluted.com>:Eric Andersen
I am very pleased to announce that the MIPS dynamic linker/loader for uClibc is now working. It works on big and little endian platforms. A few minor changes were needed to avoid breaking ldd, and since this makes some non-trivial changes, I have tested on x86, arm, and powerpc to be sure thoese arches didn't get broken. Excellent work Steven!
2002-05-02Make ldd and readelf work even with byte swapped binariesEric Andersen
2002-04-10SEND_NUMBER_STDERR is supposed to be calling _dl_simple_ltoa(),Eric Andersen
not _dl_simple_ltoahex(). Numbers are not supposed to be in hex. -Erik
2002-04-10Teach powerpc to whine loudly about using -fPIC when a R_PPC_REL24Eric Andersen
is encountered... -Erik
2002-04-09Removed handling for R_PPC_REL24, since it is deceptively useless.David Schleef
2002-04-03Remove unused variableEric Andersen
-Erik
2002-04-03Steven's patch contained a spare SEND_NUMBER_STDERR call that wasEric Andersen
spamming us. Kill that. My bad for not spotting that when merging. -Erik
2002-04-02Steven J. Hill's latest mips dynamic loader updatesEric Andersen
2002-04-02Doh! This is _still_ wrong. Fix potential buffer overflow.Eric Andersen
-Erik
2002-03-29More mips support from sjhillEric Andersen
2002-03-20Attempt to follow symlinks if possible, and use that directoryEric Andersen
for the base library directory. -Erik
2002-03-19Prevent uninitialized useEric Andersen
2002-03-19Initial mips ldso porting effort from Steven J. Hill. Not yetEric Andersen
complete, but off to a fine start.
2002-03-19Add new debug target (disabled by default) so that when debugEric Andersen
is on we now default to resolving symbols permanently.. -Erik
2002-03-19Revert my symlink detecting change for now, since it breaksEric Andersen
things. -Erik
2002-03-19Resolve symlinks when determining the real ld.so path, which isEric Andersen
now used as the default library search location. -Erik
2002-03-19Cleanup header files a bit.Eric Andersen
-Erik
2002-03-18Let older arm cross compilers workEric Andersen
-Erik
2002-03-17Enable trace support by default, since it only costs 300 bytesEric Andersen
anyways, and people seem to expect it. -Erik
2002-03-14Remove an unused variableEric Andersen
2002-03-11Fixup ldd behavior to match recent ldso changeEric Andersen
2002-03-08Seperate out the symbol resolution debugging, so it doesn't clutterEric Andersen
things up when we don't care about symbol resolution problems. Make the lib loader always look first in the directory where the shared lib loader was found. -Erik
2002-02-23Add a better error msgEric Andersen
2002-02-18Make shared libs properly list the correct ld.so in the interpEric Andersen
field by being sneaky.
2002-02-18Whine and exit if people link against GNU libc orEric Andersen
GNU libc linked shared libraries.
2002-02-17Fix defines so debugging works as expectedEric Andersen
2002-02-17Some more updates. Darn -- arm needs the mprotect hackEric Andersen
2002-02-17A few more little fixupsEric Andersen
2002-02-17Eliminate circular dependancyEric Andersen
2002-02-17A ton of cleanups. Eliminate some useless code. Much betterEric Andersen
debugging code now. -Erik
2002-02-13Fix silly buffer overflowEric Andersen
2002-02-02Don't free memory prematurelyEric Andersen
2002-01-31Fix makefile so it actually works when cross compilingEric Andersen
-Erik
2002-01-31make sure all utilities will build even with older toolchains byEric Andersen
using our own local elf.h header rather than the system one. -Erik
2002-01-30Fixup util buildEric Andersen
2002-01-29Go back to using ld, now that I've found the real problem...Eric Andersen
2002-01-28Fix the bug where binaries built with older toolchains wouldEric Andersen
segfault. Turns out that 'ld -nostdlib' was the culprit. Who wouldof thought... -Erik
2002-01-25Fix up all non-x86 arches to cope with the latest ldso updateEric Andersen
-Erik
2002-01-23Fixup build a bit. Be sneaky and include everything intoEric Andersen
a single .c file, making stuff be even smaller.
2002-01-16Oops. I forgot to add -Bdynamic to this one.Eric Andersen
-Erik
2002-01-16Tell ld explicitly when stuff is supposed to by dynamically linkedEric Andersen
-Erik
2002-01-14Both _dl_simple_ltoa and _dl_simple_ltoahex use buffers of size 21,Eric Andersen
but we were feeding them strings that were just 13 bytes long... Thanks to spudmonkey@racsa.co.cr for noticing! -Erik