summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
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.
2001-05-03Some more minor updates. Add in some debug stuff, andEric Andersen
a way to print out addresses _early_ on in the process.
2001-05-02Some more updates and explanationEric Andersen
2001-05-01Another cleanup. Never pass addresses as an 'int'Eric Andersen
-Erik
2001-05-01I forgot to check this in.Eric Andersen
-Erik
2001-05-01Yet another major rework. This time around, rework it to no longerEric Andersen
use linux kernel header files. -Erik
2001-04-30Sanitize the calling of _dl_linux_resolver so it can be read byEric Andersen
mere mortals, and so it says what it means. Ick this stuff was nasty. -Erik
2001-04-27Get rid of the a.out header fileEric Andersen
2001-04-27Add in missing ARM support. I really need to port this whole thingEric Andersen
to use a modern version of elf.h from glibc. -Erik
2001-04-27For m68k I forgot a needed #undefEric Andersen
2001-04-27Eliminate the useless _dl_interpreter_exit functionEric Andersen
2001-04-27I messed up the commentEric Andersen
2001-04-27Yet another large update to ld.so. In this iteration I finally gotEric Andersen
the C based syscalls working, which greatly simplifies what it takes to get new architectures running. -Erik
2001-04-27More trivial changes.Eric Andersen