summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
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
2002-04-10SEND_NUMBER_STDERR is supposed to be calling _dl_simple_ltoa(),Eric Andersen
not _dl_simple_ltoahex(). Numbers are not supposed to be in hex. -Erik
2002-04-10Teach powerpc to whine loudly about using -fPIC when a R_PPC_REL24Eric Andersen
is encountered... -Erik
2002-04-09Removed handling for R_PPC_REL24, since it is deceptively useless.David Schleef
2002-04-03Remove unused variableEric Andersen
-Erik
2002-04-03Steven's patch contained a spare SEND_NUMBER_STDERR call that wasEric Andersen
spamming us. Kill that. My bad for not spotting that when merging. -Erik
2002-04-02Steven J. Hill's latest mips dynamic loader updatesEric Andersen
2002-04-02Doh! This is _still_ wrong. Fix potential buffer overflow.Eric Andersen
-Erik
2002-03-29More mips support from sjhillEric Andersen
2002-03-20Attempt to follow symlinks if possible, and use that directoryEric Andersen
for the base library directory. -Erik
2002-03-19Prevent uninitialized useEric Andersen
2002-03-19Initial mips ldso porting effort from Steven J. Hill. Not yetEric Andersen
complete, but off to a fine start.
2002-03-19Add new debug target (disabled by default) so that when debugEric Andersen
is on we now default to resolving symbols permanently.. -Erik
2002-03-19Revert my symlink detecting change for now, since it breaksEric Andersen
things. -Erik
2002-03-19Resolve symlinks when determining the real ld.so path, which isEric Andersen
now used as the default library search location. -Erik
2002-03-19Cleanup header files a bit.Eric Andersen
-Erik
2002-03-18Let older arm cross compilers workEric Andersen
-Erik
2002-03-17Enable trace support by default, since it only costs 300 bytesEric Andersen
anyways, and people seem to expect it. -Erik