summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
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
2002-01-12Depend upon libcEric Andersen
2002-01-11More build system cleanups...Eric Andersen
2002-01-11Oops. We lost -FPIC in the shuffle...Eric Andersen
-Erik
2002-01-11Remove the now obsolete d-link tree. Update things to copeEric Andersen
with the new naming -Erik
2002-01-11Remove old named file. Fix headers on updated one.Eric Andersen
2002-01-11Rework naming for shared lib loader to avoid potentialEric Andersen
nameing conflicts with std header files. -Erik
2002-01-11Don't use target strip on native binaryEric Andersen
2002-01-11Scrub the way libraries are linked. Use ld, not gcc, to avoidEric Andersen
chicken-and-egg problems when building gcc toolchains. -Erik
2002-01-09Ignore native lddEric Andersen
2002-01-09Build a native uClibc lddEric Andersen
2002-01-01Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen
proper error checking -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-26Removed TARGET_CFLAGS definition, since it was moved to toplevel Rules.makDavid Schleef
2001-11-26Fix buggy R_PPC_RELATIVE relocation. Symptom was that stringsDavid Schleef
internal to a library were not relocated correctly, specifically sys_errlist[].
2001-11-26Fix calculation of PLT entry index. Caused segfaults on second callDavid Schleef
of a lib function.
2001-11-12powerpc/elfinterp.c: Powerpc works now. Major rework; most relocsDavid Schleef
should work now. R_PPC_JMP_SLOT correctly being lazily relocated. hash.h: Added a field in elf_resolve to store a ppc-specific address. boot1.c: Added debugging code. Disabled check that fails on powerpc because the string literal requires a reloc that isn't performed. Added check to ignore d_tag if it is out of bounds, as has been observed with powerpc binaries.
2001-08-27elide some debug noiseEric Andersen
2001-08-18Fix problem with possible redundant entries.Eric Andersen
2001-08-17Fix a stupid bug causing the ld-uClibc entry to be lost.Eric Andersen
2001-08-11Sync up ldd behaviorEric Andersen
2001-08-11Fix the library searching routine so it is way simpler, and soEric Andersen
it matches the routine in ldd.c
2001-08-11Begin removing some unnecessary inlining, and fix namingEric Andersen
of _dl_fprintf which should really be _dl_dprintf -Erik
2001-08-10Update the build system, yet again. I hope this is the last time...Eric Andersen
Here is the basic theory of operation: SHARED_LIB_LOADER_PATH/ <The location where the shared lib loader will be installed and where the compiler will cause apps to look for it.> DEVEL_PREFIX/ bin/ <contains gcc, ld, etc for setting PATH=$DEVEL_PREFIX/bin:$PATH> lib/ <contains all runtime and static libs> include/ <Where all the header files go> SYSTEM_DEVEL_PREFIX/ usr/bin/ <contains arch-uclibc-gcc, arch-uclibc-ld, etc that might be installed by a .deb or .rpm into /usr/bin, but can happily live under DEVEL_PREFIX> PREFIX This is prepended during 'make install's allowing you to shift things to be installed under some alternate location (such as when building a .deb) -Erik
2001-08-08This syncs things up with my local tree. Mainly changes installerEric Andersen
issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging...
2001-08-06Try search for the shared lib interpreter. Eliminate all double "//"sEric Andersen
from the output -Erik
2001-08-06If /etc/ld.so.preload was size 0, the shared lib loader wouldEric Andersen
choke and die. Test for non-zero size as well, -Erik
2001-07-17search_for_named_library forgot to wipe the target string, so each timeEric Andersen
around the loop it was getting bigger...