summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
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
2001-07-11Rewrite of ldd so it works as expected, and does not invoke theEric Andersen
shared lib loader at all. This will allow us to throw out the support code for that from ld-linux.so.0 -Erik
2001-07-10Fix the code for finding the interpreter, which was I hadEric Andersen
totally screwed up the first time... -Erik
2001-07-03Finish up merging the arm port into the main tree.Eric Andersen
2001-07-03Merge the arm port into the main tree. The final version (the one thatEric Andersen
actually works) is the most excellent work of Shane Nay <shane@minirl.com>, who took what I had been doing and fixed it.
2001-07-03Merge arm support into the mainstream. This change is prettyEric Andersen
minor, just carefully memset 0 strings before using them, and also referencs strings via the GOT for ARM as well. -Erik
2001-07-03Scrub a couple of intsEric Andersen
2001-07-03Allow the shared lib loader to fallback on the builddir if everythingEric Andersen
else fails. Let <arch>-uclibc-gcc --uclibc-use-build-dir set the shared lib loader to the one in the builddir's path. -Erik
2001-07-03Force our child libs to link vs libcEric Andersen
2001-06-27Cleanup to not use kernel headers at all.Eric Andersen
-Erik
2001-06-18This commit finishes adding support for the old m68k-coff toolchains byEric Andersen
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
2001-06-15A few build updatesEric Andersen
2001-06-15Make some nice SEND_ADDRESS_STDERR and SEND_NUMBER_STDERR macros thatEric Andersen
operate inline, to help when debugging ldso (i.e. before we can do things like function calls). -Erik
2001-06-15Now that our compiler wrapper is up to it, we can now use TARGET_CCEric Andersen
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
2001-06-15Be consistant for all the client code, and use TARGET_CC with ↵Eric Andersen
--uclibc-use-build-dir
2001-06-14Some silly grammar stuffEric Andersen
2001-06-14Yet more ldso cleanups. Be more discriminating about when using inlinesEric Andersen
and when using real functions. Make things be more portable by providing a default C routine to locate the got. -Erik
2001-06-13Use sys/mman.h not asm/mman.h -- we don't want kernel headers...Eric Andersen
-Erik
2001-06-11Get rid of the unused LDSO_VERSIONEric Andersen
2001-06-11Fix bug in ldso/util/Makefile introduced when Erik added the readelf app.Manuel Novoa III
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.
2001-06-07Changes needed to build the ldso dir for m68k. I haven't tested it,David McCullough
who knows if it will work, it just compiles cleanly :-)
2001-06-07ldso build always used $(NATIVE_ARCH)-uClibc-gcc, which doesn't work forDavid McCullough
cross build (ie., m68k under i386). Changed it to use $(TARGET_ARCH) instead.
2001-06-04Add a new 'readelf' util I wrote this weekend.Eric Andersen
-Erik
2001-06-04Teach the ldso stuff to use the proper elf.h header file, not a local copy.Eric Andersen
-Erik
2001-06-02Always check before you commit...^100. We need to build the dynamic linkerManuel Novoa III
before we build shared libc. We need to build shared libc before libdl.
2001-06-02Only build ldso if building shared. Also, if building ldso, build all subdirs.Manuel Novoa III
2001-05-31Removed INSTALL_DIR and replaced it with DEVEL_PREFIX, ROOT_DIR, andManuel Novoa III
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).
2001-05-25One last structural change. Install header files to INSTALLDIR/usr/includeEric Andersen
so we now parallel the behavior of the standard tools. Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries. -Erik
2001-05-18I wasn't building the libdl shared lib anymore. Make each lib install aEric Andersen
libfoo.so symlink as well as a libfoo.so.0 link, since gcc is currently only looking for files ending in .so. wierd. -Erik
2001-05-16Oops again. We do want to print this info, but only whenEric Andersen
_dl_trace_loaded_objects is true (i.e. when doing an 'ldd') -Erik
2001-05-16Oops. I left in some debugging noise. Also some minor formatting updates.Eric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-11Rework where libraries get installed to. Now thew will be compiled andEric Andersen
dropped into a uClibc/lib dir when compiling, which will make life a bit easier when installing and cleaning up. Preface uClibc with 'lib' so ldconfig will recognize it as a library. Make all libraries have the uClibc version number attached, making upgrades possible by using the traditional symlink to the .so name plan. -Erik
2001-05-10Check if ld.so is included in the NEEDED list. If so, do not _again_Eric Andersen
try to fix up its symbols since they are already fixed up, thank-you very much. This checkin fixes the dlopen problems Manuel noticed. -Erik
2001-05-10Fix up naming of ld.so so every uses the same define. The top levelEric Andersen
was using one name and the ld.so-1 dir was using another (they happened to be the same). Fix that. -Erik
2001-05-10minor formatting cleanupsEric Andersen
2001-05-10Add in _dl_strrchrEric Andersen
2001-05-08Make sure types are pulled inEric Andersen
2001-05-08Some very minor cleanupsEric Andersen
2001-05-07Put in but leave commented the DL_DEBUG defineEric Andersen
2001-05-04Another update to make sure things work properly on x86 now.Eric Andersen
2001-05-04This patch allows powerpc to compile again. It also checks if weEric Andersen
are compiling for an arch for which uClibc has an ld.so or not, and otherwise sets things up to use the system ld.so. -Erik
2001-05-03Dont segfault when folks run ld-uclibc as an executable.Eric Andersen
2001-05-03Describe what this routine is supposed to do so we can port itEric Andersen
to other achitectures.