summaryrefslogtreecommitdiff
path: root/ldso/ldso
AgeCommit message (Collapse)Author
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
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
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-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-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-08Make powerpc compile once againEric 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-08Make some strings constEric Andersen
-Erik
2002-07-25ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"
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-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-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-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-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-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