summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2002-10-15Fixed 'dlopen' call for MIPS. Things seem to work swimingly. Woohoo!"Steven J. Hill"
2002-10-01This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen
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.
2002-09-23Removed redundant code. Same thing exist in sys/syscalls.h so include thatTobias Anderberg
instead.
2002-09-19* Changed paramater names to match their register, i.e. __a -> __r10.Tobias Anderberg
* Do not clobber things that are specified as outputs.
2002-09-16Updated for the CRIS port.Tobias Anderberg
2002-09-16Initial version of the dynamic linker code for the CRIS port.Tobias Anderberg
2002-09-12Support LD_DEBUG=allTobias Anderberg
2002-09-12Add missing _dl_dprintf arguments, as noticed by Tero Lyytik�inen ↵Eric Andersen
<tero@paravant.fi>
2002-09-09Fixup multi-line stringEric Andersen
-Erik
2002-09-05Fixed another address alignment where a pagesize of 4k were assumed.Tobias Anderberg
2002-08-24Use bits/kernel_stat.h, not asm/stat.hEric Andersen
-Erik
2002-08-19missed const-ifying this one.Eric Andersen
2002-08-19some updates from Stefan Allius to make up the SuperH shared libEric Andersen
loader build properly. Mostly just sprinkling casts, and making static some things that should be static.
2002-08-12Fix alignment, minor cosmetic changesEric Andersen
-Erik
2002-08-09Ok, bad idea. didn't work.Eric Andersen
-Erik
2002-08-09Link ldso vs libgcc.a and eliminate baggage caused byEric Andersen
not previously linking vs libgcc -Erik
2002-08-09Patch from Stefan Allius, avoid compiler warnings (unused variable)Eric Andersen
2002-08-09Patch from Stefan Allius to remove obsolete printfsEric Andersen
2002-08-09Disable this code for mips, which does things quite differently...Eric Andersen
-Erik
2002-08-09Fix a stupid typo messing up powerpc supportEric Andersen
-Erik
2002-08-08For some perverse reason we were not registering destructorsEric Andersen
for dlopen'd libraries. This fixes that. -Erik
2002-08-08Make powerpc compile once againEric Andersen
-Erik
2002-08-08Move destructor attribute tagEric Andersen
2002-08-08Missed a spotEric Andersen
-Erik
2002-08-08Patch from Stefan Allius and Edie C. Dost to add SuperHEric Andersen
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
2002-08-08Patch from Stefan Allius and Edie C. Dost to let ldd andEric Andersen
readelf compile under solaris.
2002-08-08Make some strings constEric Andersen
-Erik
2002-08-08Cleanup to avoid some undefined behaviorEric Andersen
-Erik
2002-07-25ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"
2002-07-25Kill cruft. Build ldd for the host system by default.Eric Andersen
-Erik
2002-07-25Take advantage of the new syscall stuff on x86 and arm to killEric Andersen
the ldso specific syscalls and use the generic ones instead. -Erik
2002-07-02Fixup where locals shadowed globalsEric Andersen
-Erik
2002-06-23Don't try to compile the target utils unless told to do so.Eric Andersen
-Erik
2002-06-21Fix support for 2.0.x linux kernels. Oops.Eric Andersen
-Erik
2002-06-05Fix up of '_dlopen' call and removal of unneeded argument in call ↵"Steven J. Hill"
'_dl_load_elf_shared_library'.
2002-06-04If we are cross-compiling, don't even try to build the target utilities."Steven J. Hill"
2002-05-29Silly me. ldd.target is for the target system, so don'tEric Andersen
use-build-dir when compiling... -Erik
2002-05-28Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen
Propagate fixes across makefiles. -Erik
2002-05-28Patch from Tobias Anderberg <tobias.anderberg@axis.com> to abstractEric Andersen
out page alignment issues. As we we were assuming 4k pages, which need not be the case...
2002-05-24Fix a couple of silly bugs I'd left in while fixing thingsEric Andersen
-Erik
2002-05-24Fix ldd so it correctly handles search paths of just one entryEric Andersen
(per fix in ldso a while back), and correctly matches the search order in the shared lib loader. -Erik
2002-05-24Pass the -s to the linkerEric Andersen
2002-05-20Added more debug code."Steven J. Hill"
2002-05-20Fixed MIPS dynamic linker by removing link order dependency bug."Steven J. Hill"
2002-05-09Another mips patch from Steven J. Hill:Eric Andersen
Uh, this patch fixes a few bugs that I overlooked. Shoot, even BusyBox wouldn't work until these are applied. Erik, plop this into CVS please. Thanks.
2002-05-09Fix funky use of bracketsEric Andersen
2002-05-03No real need to make ldd.target and readelf.target be static...Eric Andersen
2002-05-02Patch from Tobias Anderberg <tobias.anderberg@axis.com> toEric Andersen
remove the .asm calls
2002-05-02Patch from Steven J. Hill <sjhill@realitydiluted.com>:Eric Andersen
I am very pleased to announce that the MIPS dynamic linker/loader for uClibc is now working. It works on big and little endian platforms. A few minor changes were needed to avoid breaking ldd, and since this makes some non-trivial changes, I have tested on x86, arm, and powerpc to be sure thoese arches didn't get broken. Excellent work Steven!
2002-05-02Make ldd and readelf work even with byte swapped binariesEric Andersen