summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
...
* 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...
* Turn off USE_CACHE by default (so ldconfig, by default, isn'tEric Andersen2001-07-174-12/+12
| | | | | | | needed). Fix a stupid typo in dlib.c where I had several weak symbols set up backwards, breaking libdl (dlopen and friends), -Erik
* Fix missing function when USE_CACHE is enabledEric Andersen2001-07-172-0/+32
| | | | -Erik
* Oops. USE_CACHE was disabled and didn't compile when enabledEric Andersen2001-07-173-3/+3
| | | | | since I'd forgotten a one liner... -Erik
* Forgot this...Eric Andersen2001-07-171-1/+3
|
* Some cleanups needed for things to compile and work as expectedEric Andersen2001-07-176-87/+150
| | | | | with the new build system... -Erik
* Scrub up a few things I forgot. Add a few more cleanups.Eric Andersen2001-07-139-156/+143
| | | | -Erik
* This takes about 6k off the size of the x86 shared lib loader...Eric Andersen2001-07-1316-556/+570
| | | | -Erik
* This commit merges David Schleef's updates to the build system, which aEric Andersen2001-07-122-4/+4
| | | | | | few tiny fixups here and there from me. Seems to work just fine and will hopefully be a bit better behaved. -Erik
* Added #ifdef DEBUG where appropriate.David Schleef2001-07-124-62/+56
| | | | | | Fixed icache clearing during _dl_init_got(). Added a few more reloc types. Added out-of-range check for R_PPC_REL24.
* First cut of PowerPC port. It works for hello world, but has lotsDavid Schleef2001-07-1210-0/+1750
| | | | of debugging information is still there.
* Small fixups for powerpcDavid Schleef2001-07-128-4/+28
|
* Rewrite of ldd so it works as expected, and does not invoke theEric Andersen2001-07-112-296/+344
| | | | | | shared lib loader at all. This will allow us to throw out the support code for that from ld-linux.so.0 -Erik
* Fix the code for finding the interpreter, which was I hadEric Andersen2001-07-101-4/+4
| | | | | totally screwed up the first time... -Erik
* Finish up merging the arm port into the main tree.Eric Andersen2001-07-0311-69/+182
|
* Merge the arm port into the main tree. The final version (the one thatEric Andersen2001-07-038-0/+1147
| | | | | actually works) is the most excellent work of Shane Nay <shane@minirl.com>, who took what I had been doing and fixed it.
* Merge arm support into the mainstream. This change is prettyEric Andersen2001-07-032-16/+26
| | | | | | minor, just carefully memset 0 strings before using them, and also referencs strings via the GOT for ARM as well. -Erik
* Scrub a couple of intsEric Andersen2001-07-031-2/+3
|
* Allow the shared lib loader to fallback on the builddir if everythingEric Andersen2001-07-033-1/+27
| | | | | | else fails. Let <arch>-uclibc-gcc --uclibc-use-build-dir set the shared lib loader to the one in the builddir's path. -Erik
* Force our child libs to link vs libcEric Andersen2001-07-031-1/+1
|