summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to follow symlinks if possible, and use that directoryEric Andersen2002-03-201-1/+16
| | | | | for the base library directory. -Erik
* Prevent uninitialized useEric Andersen2002-03-192-2/+2
|
* Initial mips ldso porting effort from Steven J. Hill. Not yetEric Andersen2002-03-195-0/+448
| | | | complete, but off to a fine start.
* Add new debug target (disabled by default) so that when debugEric Andersen2002-03-195-9/+14
| | | | | is on we now default to resolving symbols permanently.. -Erik
* Revert my symlink detecting change for now, since it breaksEric Andersen2002-03-191-16/+6
| | | | | things. -Erik
* Resolve symlinks when determining the real ld.so path, which isEric Andersen2002-03-191-23/+37
| | | | | now used as the default library search location. -Erik
* Cleanup header files a bit.Eric Andersen2002-03-1915-43/+40
| | | | -Erik
* Let older arm cross compilers workEric Andersen2002-03-182-2/+2
| | | | -Erik
* Enable trace support by default, since it only costs 300 bytesEric Andersen2002-03-172-3/+13
| | | | | anyways, and people seem to expect it. -Erik
* 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
|