summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
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...
2001-07-17Turn off USE_CACHE by default (so ldconfig, by default, isn'tEric Andersen
needed). Fix a stupid typo in dlib.c where I had several weak symbols set up backwards, breaking libdl (dlopen and friends), -Erik
2001-07-17Fix missing function when USE_CACHE is enabledEric Andersen
-Erik
2001-07-17Oops. USE_CACHE was disabled and didn't compile when enabledEric Andersen
since I'd forgotten a one liner... -Erik
2001-07-17Forgot this...Eric Andersen
2001-07-17Some cleanups needed for things to compile and work as expectedEric Andersen
with the new build system... -Erik
2001-07-13Scrub up a few things I forgot. Add a few more cleanups.Eric Andersen
-Erik
2001-07-13This takes about 6k off the size of the x86 shared lib loader...Eric Andersen
-Erik
2001-07-12This commit merges David Schleef's updates to the build system, which aEric Andersen
few tiny fixups here and there from me. Seems to work just fine and will hopefully be a bit better behaved. -Erik
2001-07-12Added #ifdef DEBUG where appropriate.David Schleef
Fixed icache clearing during _dl_init_got(). Added a few more reloc types. Added out-of-range check for R_PPC_REL24.
2001-07-12First cut of PowerPC port. It works for hello world, but has lotsDavid Schleef
of debugging information is still there.
2001-07-12Small fixups for powerpcDavid Schleef