summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Cleanup to not use kernel headers at all.Eric Andersen2001-06-2716-73/+391
| | | | -Erik
* This commit finishes adding support for the old m68k-coff toolchains byEric Andersen2001-06-181-0/+6
| | | | | | | working around a missing header file in the compiler shipped with the uCsimm and uCdimm. This should make the folk in Toronto happy, since now they can use the latest CVS version of uClibc. -Erik
* A few build updatesEric Andersen2001-06-152-3/+3
|
* Make some nice SEND_ADDRESS_STDERR and SEND_NUMBER_STDERR macros thatEric Andersen2001-06-157-26/+49
| | | | | | operate inline, to help when debugging ldso (i.e. before we can do things like function calls). -Erik
* Now that our compiler wrapper is up to it, we can now use TARGET_CCEric Andersen2001-06-151-12/+10
| | | | | | | to compile ldso, simplifying the process of passing in special CFLAGS and such (and simplifying the build in general since we no longer need to go directly to LD to link things). -Erik
* Be consistant for all the client code, and use TARGET_CC with ↵Eric Andersen2001-06-152-15/+10
| | | | --uclibc-use-build-dir
* Some silly grammar stuffEric Andersen2001-06-141-2/+4
|
* Yet more ldso cleanups. Be more discriminating about when using inlinesEric Andersen2001-06-1423-222/+716
| | | | | | and when using real functions. Make things be more portable by providing a default C routine to locate the got. -Erik
* Use sys/mman.h not asm/mman.h -- we don't want kernel headers...Eric Andersen2001-06-132-2/+2
| | | | -Erik
* Get rid of the unused LDSO_VERSIONEric Andersen2001-06-111-6/+1
|
* Fix bug in ldso/util/Makefile introduced when Erik added the readelf app.Manuel Novoa III2001-06-111-2/+2
| | | | | | | It didn't show up if a previous install was done. This would have been fixed two days ago if the initial bug report had been anything close to lucid. :-( Also changed ldconfig back to staticly linked and update the README file.
* Changes needed to build the ldso dir for m68k. I haven't tested it,David McCullough2001-06-077-231/+402
| | | | who knows if it will work, it just compiles cleanly :-)
* ldso build always used $(NATIVE_ARCH)-uClibc-gcc, which doesn't work forDavid McCullough2001-06-071-1/+1
| | | | | cross build (ie., m68k under i386). Changed it to use $(TARGET_ARCH) instead.
* Add a new 'readelf' util I wrote this weekend.Eric Andersen2001-06-045-123/+325
| | | | -Erik
* Teach the ldso stuff to use the proper elf.h header file, not a local copy.Eric Andersen2001-06-0412-18/+89
| | | | -Erik
* Always check before you commit...^100. We need to build the dynamic linkerManuel Novoa III2001-06-021-2/+5
| | | | before we build shared libc. We need to build shared libc before libdl.
* Only build ldso if building shared. Also, if building ldso, build all subdirs.Manuel Novoa III2001-06-021-4/+1
|
* Removed INSTALL_DIR and replaced it with DEVEL_PREFIX, ROOT_DIR, andManuel Novoa III2001-05-316-89/+13
| | | | | | | | TARGET_PREFIX to allow more flexibility. Also modified the gcc wrapper to do the right thing if -Wl,--dynamic-linker,xxx is passed on the command line. The gcc wrapper will also check the env variable UCLIBC_GCC_LDOPT for a dynamic linker option at runtime (although command line arg overrides the env variable).
* One last structural change. Install header files to INSTALLDIR/usr/includeEric Andersen2001-05-255-49/+51
| | | | | | | so we now parallel the behavior of the standard tools. Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries. -Erik
* I wasn't building the libdl shared lib anymore. Make each lib install aEric Andersen2001-05-181-4/+5
| | | | | | libfoo.so symlink as well as a libfoo.so.0 link, since gcc is currently only looking for files ending in .so. wierd. -Erik
* Oops again. We do want to print this info, but only whenEric Andersen2001-05-163-0/+15
| | | | | _dl_trace_loaded_objects is true (i.e. when doing an 'ldd') -Erik
* Oops. I left in some debugging noise. Also some minor formatting updates.Eric Andersen2001-05-163-78/+36
|