summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
* Remove an unused variableEric Andersen2002-03-142-2/+2
|
* Fixup ldd behavior to match recent ldso changeEric Andersen2002-03-111-6/+26
|
* Seperate out the symbol resolution debugging, so it doesn't clutterEric Andersen2002-03-089-20/+86
| | | | | | | 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
* Add a better error msgEric Andersen2002-02-231-1/+2
|
* Make shared libs properly list the correct ld.so in the interpEric Andersen2002-02-181-1/+2
| | | | field by being sneaky.
* Whine and exit if people link against GNU libc orEric Andersen2002-02-181-2/+5
| | | | GNU libc linked shared libraries.
* Fix defines so debugging works as expectedEric Andersen2002-02-174-12/+11
|
* Some more updates. Darn -- arm needs the mprotect hackEric Andersen2002-02-173-38/+37
|
* A few more little fixupsEric Andersen2002-02-172-23/+18
|
* Eliminate circular dependancyEric Andersen2002-02-171-1/+1
|
* A ton of cleanups. Eliminate some useless code. Much betterEric Andersen2002-02-175-532/+616
| | | | | debugging code now. -Erik
* Fix silly buffer overflowEric Andersen2002-02-131-2/+5
|
* Don't free memory prematurelyEric Andersen2002-02-021-4/+0
|
* Fix makefile so it actually works when cross compilingEric Andersen2002-01-311-6/+6
| | | | -Erik
* make sure all utilities will build even with older toolchains byEric Andersen2002-01-316-18/+22
| | | | | using our own local elf.h header rather than the system one. -Erik
* Fixup util buildEric Andersen2002-01-302-3/+4
|
* Go back to using ld, now that I've found the real problem...Eric Andersen2002-01-291-4/+4
|
* Fix the bug where binaries built with older toolchains wouldEric Andersen2002-01-282-11/+17
| | | | | | segfault. Turns out that 'ld -nostdlib' was the culprit. Who wouldof thought... -Erik
* Fix up all non-x86 arches to cope with the latest ldso updateEric Andersen2002-01-254-31/+2
| | | | -Erik
* Fixup build a bit. Be sneaky and include everything intoEric Andersen2002-01-238-50/+21
| | | | a single .c file, making stuff be even smaller.
* Oops. I forgot to add -Bdynamic to this one.Eric Andersen2002-01-161-1/+1
| | | | -Erik
* Tell ld explicitly when stuff is supposed to by dynamically linkedEric Andersen2002-01-161-1/+1
| | | | -Erik
* Both _dl_simple_ltoa and _dl_simple_ltoahex use buffers of size 21,Eric Andersen2002-01-141-2/+2
| | | | | | but we were feeding them strings that were just 13 bytes long... Thanks to spudmonkey@racsa.co.cr for noticing! -Erik
* Depend upon libcEric Andersen2002-01-121-1/+1
|
* More build system cleanups...Eric Andersen2002-01-111-0/+6
|
* Oops. We lost -FPIC in the shuffle...Eric Andersen2002-01-111-0/+1
| | | | -Erik
* Remove the now obsolete d-link tree. Update things to copeEric Andersen2002-01-115-16/+14
| | | | | with the new naming -Erik
* Remove old named file. Fix headers on updated one.Eric Andersen2002-01-112-1221/+5
|
* Rework naming for shared lib loader to avoid potentialEric Andersen2002-01-1130-1984/+62
| | | | | nameing conflicts with std header files. -Erik
* Don't use target strip on native binaryEric Andersen2002-01-111-2/+1
|
* Scrub the way libraries are linked. Use ld, not gcc, to avoidEric Andersen2002-01-111-2/+3
| | | | | chicken-and-egg problems when building gcc toolchains. -Erik
* Ignore native lddEric Andersen2002-01-091-0/+1
|
* Build a native uClibc lddEric Andersen2002-01-091-2/+11
|
* Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen2002-01-013-5/+5
| | | | | proper error checking -Erik
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-197-6/+76
|
* Removed TARGET_CFLAGS definition, since it was moved to toplevel Rules.makDavid Schleef2001-11-261-2/+0
|
* Fix buggy R_PPC_RELATIVE relocation. Symptom was that stringsDavid Schleef2001-11-261-1/+1
| | | | | internal to a library were not relocated correctly, specifically sys_errlist[].
* Fix calculation of PLT entry index. Caused segfaults on second callDavid Schleef2001-11-261-2/+7
| | | | of a lib function.
* powerpc/elfinterp.c: Powerpc works now. Major rework; most relocsDavid Schleef2001-11-1210-151/+270
| | | | | | | | | 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.
* elide some debug noiseEric Andersen2001-08-271-1/+0
|
* Fix problem with possible redundant entries.Eric Andersen2001-08-181-9/+42
|
* Fix a stupid bug causing the ld-uClibc entry to be lost.Eric Andersen2001-08-171-14/+11
|
* Sync up ldd behaviorEric Andersen2001-08-111-3/+7
|
* Fix the library searching routine so it is way simpler, and soEric Andersen2001-08-114-266/+170
| | | | it matches the routine in ldd.c
* Begin removing some unnecessary inlining, and fix namingEric Andersen2001-08-1114-1843/+270
| | | | | of _dl_fprintf which should really be _dl_dprintf -Erik
* Update the build system, yet again. I hope this is the last time...Eric Andersen2001-08-101-11/+6
| | | | | | | | | | | | | | | | | | | 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
* This syncs things up with my local tree. Mainly changes installerEric Andersen2001-08-089-37/+107
| | | | | | 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...
* Try search for the shared lib interpreter. Eliminate all double "//"sEric Andersen2001-08-061-7/+40
| | | | | from the output -Erik
* If /etc/ld.so.preload was size 0, the shared lib loader wouldEric Andersen2001-08-062-2/+2
| | | | | choke and die. Test for non-zero size as well, -Erik
* search_for_named_library forgot to wipe the target string, so each timeEric Andersen2001-07-171-1/+1
| | | | around the loop it was getting bigger...