summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-125-48/+96
| | | | | | | | | 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
* Rework where libraries get installed to. Now thew will be compiled andEric Andersen2001-05-111-8/+6
| | | | | | | | | 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
* Check if ld.so is included in the NEEDED list. If so, do not _again_Eric Andersen2001-05-103-24/+93
| | | | | | | | 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
* Fix up naming of ld.so so every uses the same define. The top levelEric Andersen2001-05-106-17/+18
| | | | | | was using one name and the ld.so-1 dir was using another (they happened to be the same). Fix that. -Erik
* minor formatting cleanupsEric Andersen2001-05-101-6/+3
|
* Add in _dl_strrchrEric Andersen2001-05-102-10/+42
|
* Make sure types are pulled inEric Andersen2001-05-082-0/+4
|
* Some very minor cleanupsEric Andersen2001-05-084-8/+9
|
* Put in but leave commented the DL_DEBUG defineEric Andersen2001-05-071-1/+1
|
* Another update to make sure things work properly on x86 now.Eric Andersen2001-05-041-11/+11
|
* This patch allows powerpc to compile again. It also checks if weEric Andersen2001-05-041-7/+15
| | | | | | 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
* Dont segfault when folks run ld-uclibc as an executable.Eric Andersen2001-05-033-6/+36
|
* Describe what this routine is supposed to do so we can port itEric Andersen2001-05-031-1/+17
| | | | to other achitectures.
* Some more minor updates. Add in some debug stuff, andEric Andersen2001-05-035-53/+139
| | | | a way to print out addresses _early_ on in the process.
* Some more updates and explanationEric Andersen2001-05-025-315/+326
|
* Another cleanup. Never pass addresses as an 'int'Eric Andersen2001-05-0119-831/+795
| | | | -Erik
* I forgot to check this in.Eric Andersen2001-05-012-10/+10
| | | | -Erik
* Yet another major rework. This time around, rework it to no longerEric Andersen2001-05-0127-4161/+4165
| | | | | use linux kernel header files. -Erik
* Sanitize the calling of _dl_linux_resolver so it can be read byEric Andersen2001-04-305-14/+10
| | | | | | mere mortals, and so it says what it means. Ick this stuff was nasty. -Erik
* Get rid of the a.out header fileEric Andersen2001-04-272-2/+55
|
* Add in missing ARM support. I really need to port this whole thingEric Andersen2001-04-271-0/+44
| | | | | to use a modern version of elf.h from glibc. -Erik
* For m68k I forgot a needed #undefEric Andersen2001-04-273-0/+3
|
* Eliminate the useless _dl_interpreter_exit functionEric Andersen2001-04-276-33/+9
|
* I messed up the commentEric Andersen2001-04-279-60/+9
|
* Yet another large update to ld.so. In this iteration I finally gotEric Andersen2001-04-2718-63/+1286
| | | | | | the C based syscalls working, which greatly simplifies what it takes to get new architectures running. -Erik
* More trivial changes.Eric Andersen2001-04-271-1/+1
|
* A few more compilation updatesEric Andersen2001-04-271-7/+6
|
* oops again! I forgot to pull in the arch specific stuff, and forgotEric Andersen2001-04-261-3/+5
| | | | | to update those makefiles. -Erik
* Missed theseEric Andersen2001-04-262-4/+2
|
* Be more careful about not hard coding names.Eric Andersen2001-04-265-7/+22
|
* Update ignore targetEric Andersen2001-04-251-1/+1
|
* Move libdl and udate build method a bitEric Andersen2001-04-256-24/+19
| | | | -Erik
* Make sure 'make install' creates needed dirs.Eric Andersen2001-04-241-0/+1
|
* Disable an ugly bug-workaround for ancient versions of gcc.Eric Andersen2001-04-243-9/+9
| | | | -Erik