summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
...
* Kill legacy DOPIC=true assignmentEric Andersen2002-11-051-1/+0
|
* Several SH lib loader patches by Stefan Allius <allius@atecom.com>Eric Andersen2002-11-035-3/+8
| | | | and "M. R. Brown" <mrbrown@0xd6.org>
* Patch from M. R. Brown <mrbrown@0xd6.org> to get rid ofEric Andersen2002-11-034-122/+122
| | | | "depreciated multi-line string literals" warnings
* Fix PIC configuration, so shared libraries once again workEric Andersen2002-11-021-0/+1
| | | | -Erik
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-312-4/+2
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* Use '#ifdef __linux__' not '#ifdef linux'Eric Andersen2002-10-301-3/+3
|
* Actually install libdl.aEric Andersen2002-10-251-3/+3
| | | | -Erik
* Kill a warning. Patch from Joel Coltoff <joel@wmi.com>Eric Andersen2002-10-162-0/+8
|
* Fixed 'dlopen' call for MIPS. Things seem to work swimingly. Woohoo!"Steven J. Hill"2002-10-152-0/+18
|
* This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen2002-10-0111-75/+111
| | | | | | | how uClibc handles _init and _fini, allowing shared lib constructors and destructors to initialize things in the correct sequence. Stefan ported the SH architecture. I then ported x86, arm, and mips. x86 and arm are working fine, but I don't think I quite got things correct for mips.
* Removed redundant code. Same thing exist in sys/syscalls.h so include thatTobias Anderberg2002-09-232-270/+10
| | | | instead.
* * Changed paramater names to match their register, i.e. __a -> __r10.Tobias Anderberg2002-09-192-112/+112
| | | | * Do not clobber things that are specified as outputs.
* Updated for the CRIS port.Tobias Anderberg2002-09-162-0/+6
|
* Initial version of the dynamic linker code for the CRIS port.Tobias Anderberg2002-09-168-0/+979
|
* Support LD_DEBUG=allTobias Anderberg2002-09-121-5/+11
|
* Add missing _dl_dprintf arguments, as noticed by Tero Lyytik�inen ↵Eric Andersen2002-09-123-3/+6
| | | | <tero@paravant.fi>
* Fixup multi-line stringEric Andersen2002-09-091-9/+8
| | | | -Erik
* Fixed another address alignment where a pagesize of 4k were assumed.Tobias Anderberg2002-09-052-2/+2
|
* Use bits/kernel_stat.h, not asm/stat.hEric Andersen2002-08-241-2/+1
| | | | -Erik
* missed const-ifying this one.Eric Andersen2002-08-192-2/+2
|
* some updates from Stefan Allius to make up the SuperH shared libEric Andersen2002-08-1910-58/+183
| | | | | loader build properly. Mostly just sprinkling casts, and making static some things that should be static.
* Fix alignment, minor cosmetic changesEric Andersen2002-08-121-6/+10
| | | | -Erik
* Ok, bad idea. didn't work.Eric Andersen2002-08-092-2/+56
| | | | -Erik
* Link ldso vs libgcc.a and eliminate baggage caused byEric Andersen2002-08-0912-1421/+8
| | | | | not previously linking vs libgcc -Erik
* Patch from Stefan Allius, avoid compiler warnings (unused variable)Eric Andersen2002-08-098-8/+8
|
* Patch from Stefan Allius to remove obsolete printfsEric Andersen2002-08-091-2/+0
|
* Disable this code for mips, which does things quite differently...Eric Andersen2002-08-092-2/+6
| | | | -Erik
* Fix a stupid typo messing up powerpc supportEric Andersen2002-08-091-1/+1
| | | | -Erik
* For some perverse reason we were not registering destructorsEric Andersen2002-08-082-0/+8
| | | | | for dlopen'd libraries. This fixes that. -Erik
* Make powerpc compile once againEric Andersen2002-08-082-0/+2
| | | | -Erik
* Move destructor attribute tagEric Andersen2002-08-082-6/+2
|
* Missed a spotEric Andersen2002-08-082-12/+12
| | | | -Erik
* Patch from Stefan Allius and Edie C. Dost to add SuperHEric Andersen2002-08-0835-737/+2065
| | | | | | | | | | | | | | | | | shared library support. This also adds some cleaner error handling, which I (Erik) then ported over to x86 and arm. In addition Stefan added the following fixes: - in hash.c was the lvalue handling of global library functions wrong. To fix this I had to change the prototype of _dl_find_hash. (==> TIS and ELF spec. Vers. 1.2) - in ldso.c was the order of the .init sections calls wrong. Before we call the initialization code of a library we have to check that all dependend libraries are already initialized. This can easily made by calling it in the revers loading order. For this I added a previous pointer chain. - in ldso.c the ELF magics wasn't checked fo PPC, MIPS and SH architecture
* Patch from Stefan Allius and Edie C. Dost to let ldd andEric Andersen2002-08-084-10/+74
| | | | readelf compile under solaris.
* Make some strings constEric Andersen2002-08-085-5/+5
| | | | -Erik
* Cleanup to avoid some undefined behaviorEric Andersen2002-08-082-76/+74
| | | | -Erik
* ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"2002-07-253-350/+16
|
* Kill cruft. Build ldd for the host system by default.Eric Andersen2002-07-251-4/+4
| | | | -Erik
* Take advantage of the new syscall stuff on x86 and arm to killEric Andersen2002-07-254-568/+20
| | | | | the ldso specific syscalls and use the generic ones instead. -Erik
* Fixup where locals shadowed globalsEric Andersen2002-07-021-18/+16
| | | | -Erik
* Don't try to compile the target utils unless told to do so.Eric Andersen2002-06-231-3/+0
| | | | -Erik
* Fix support for 2.0.x linux kernels. Oops.Eric Andersen2002-06-211-2/+2
| | | | -Erik
* Fix up of '_dlopen' call and removal of unneeded argument in call ↵"Steven J. Hill"2002-06-055-41/+43
| | | | '_dl_load_elf_shared_library'.
* If we are cross-compiling, don't even try to build the target utilities."Steven J. Hill"2002-06-041-6/+7
|
* Silly me. ldd.target is for the target system, so don'tEric Andersen2002-05-291-1/+1
| | | | | use-build-dir when compiling... -Erik
* Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen2002-05-282-4/+4
| | | | | Propagate fixes across makefiles. -Erik
* Patch from Tobias Anderberg <tobias.anderberg@axis.com> to abstractEric Andersen2002-05-2815-27/+85
| | | | | out page alignment issues. As we we were assuming 4k pages, which need not be the case...
* Fix a couple of silly bugs I'd left in while fixing thingsEric Andersen2002-05-241-5/+11
| | | | -Erik
* Fix ldd so it correctly handles search paths of just one entryEric Andersen2002-05-241-27/+29
| | | | | | (per fix in ldso a while back), and correctly matches the search order in the shared lib loader. -Erik
* Pass the -s to the linkerEric Andersen2002-05-241-2/+2
|