Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Missed a spot | Eric Andersen | 2002-08-08 | 2 | -12/+12 | |
| | | | | -Erik | |||||
* | Patch from Stefan Allius and Edie C. Dost to add SuperH | Eric Andersen | 2002-08-08 | 35 | -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 and | Eric Andersen | 2002-08-08 | 4 | -10/+74 | |
| | | | | readelf compile under solaris. | |||||
* | Make some strings const | Eric Andersen | 2002-08-08 | 5 | -5/+5 | |
| | | | | -Erik | |||||
* | Cleanup to avoid some undefined behavior | Eric Andersen | 2002-08-08 | 2 | -76/+74 | |
| | | | | -Erik | |||||
* | ldso specific syscalls and userspace syscalls all in one file now. | "Steven J. Hill" | 2002-07-25 | 3 | -350/+16 | |
| | ||||||
* | Kill cruft. Build ldd for the host system by default. | Eric Andersen | 2002-07-25 | 1 | -4/+4 | |
| | | | | -Erik | |||||
* | Take advantage of the new syscall stuff on x86 and arm to kill | Eric Andersen | 2002-07-25 | 4 | -568/+20 | |
| | | | | | the ldso specific syscalls and use the generic ones instead. -Erik | |||||
* | Fixup where locals shadowed globals | Eric Andersen | 2002-07-02 | 1 | -18/+16 | |
| | | | | -Erik | |||||
* | Don't try to compile the target utils unless told to do so. | Eric Andersen | 2002-06-23 | 1 | -3/+0 | |
| | | | | -Erik | |||||
* | Fix support for 2.0.x linux kernels. Oops. | Eric Andersen | 2002-06-21 | 1 | -2/+2 | |
| | | | | -Erik | |||||
* | Fix up of '_dlopen' call and removal of unneeded argument in call ↵ | "Steven J. Hill" | 2002-06-05 | 5 | -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-04 | 1 | -6/+7 | |
| | ||||||
* | Silly me. ldd.target is for the target system, so don't | Eric Andersen | 2002-05-29 | 1 | -1/+1 | |
| | | | | | use-build-dir when compiling... -Erik | |||||
* | Fixup and unifiy version numbering. Automate versioning updates. | Eric Andersen | 2002-05-28 | 2 | -4/+4 | |
| | | | | | Propagate fixes across makefiles. -Erik | |||||
* | Patch from Tobias Anderberg <tobias.anderberg@axis.com> to abstract | Eric Andersen | 2002-05-28 | 15 | -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 things | Eric Andersen | 2002-05-24 | 1 | -5/+11 | |
| | | | | -Erik | |||||
* | Fix ldd so it correctly handles search paths of just one entry | Eric Andersen | 2002-05-24 | 1 | -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 linker | Eric Andersen | 2002-05-24 | 1 | -2/+2 | |
| | ||||||
* | Added more debug code. | "Steven J. Hill" | 2002-05-20 | 1 | -0/+7 | |
| | ||||||
* | Fixed MIPS dynamic linker by removing link order dependency bug. | "Steven J. Hill" | 2002-05-20 | 8 | -103/+91 | |
| | ||||||
* | Another mips patch from Steven J. Hill: | Eric Andersen | 2002-05-09 | 8 | -88/+123 | |
| | | | | | | 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. | |||||
* | Fix funky use of brackets | Eric Andersen | 2002-05-09 | 2 | -4/+6 | |
| | ||||||
* | No real need to make ldd.target and readelf.target be static... | Eric Andersen | 2002-05-03 | 1 | -2/+2 | |
| | ||||||
* | Patch from Tobias Anderberg <tobias.anderberg@axis.com> to | Eric Andersen | 2002-05-02 | 2 | -116/+54 | |
| | | | | remove the .asm calls | |||||
* | Patch from Steven J. Hill <sjhill@realitydiluted.com>: | Eric Andersen | 2002-05-02 | 22 | -282/+601 | |
| | | | | | | | | | | 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! | |||||
* | Make ldd and readelf work even with byte swapped binaries | Eric Andersen | 2002-05-02 | 2 | -33/+105 | |
| | ||||||
* | SEND_NUMBER_STDERR is supposed to be calling _dl_simple_ltoa(), | Eric Andersen | 2002-04-10 | 1 | -1/+1 | |
| | | | | | not _dl_simple_ltoahex(). Numbers are not supposed to be in hex. -Erik | |||||
* | Teach powerpc to whine loudly about using -fPIC when a R_PPC_REL24 | Eric Andersen | 2002-04-10 | 1 | -1/+4 | |
| | | | | | is encountered... -Erik | |||||
* | Removed handling for R_PPC_REL24, since it is deceptively useless. | David Schleef | 2002-04-09 | 1 | -0/+2 | |
| | ||||||
* | Remove unused variable | Eric Andersen | 2002-04-03 | 1 | -1/+0 | |
| | | | | -Erik | |||||
* | Steven's patch contained a spare SEND_NUMBER_STDERR call that was | Eric Andersen | 2002-04-03 | 1 | -1/+1 | |
| | | | | | spamming us. Kill that. My bad for not spotting that when merging. -Erik | |||||
* | Steven J. Hill's latest mips dynamic loader updates | Eric Andersen | 2002-04-02 | 13 | -71/+341 | |
| | ||||||
* | Doh! This is _still_ wrong. Fix potential buffer overflow. | Eric Andersen | 2002-04-02 | 1 | -4/+4 | |
| | | | | -Erik | |||||
* | More mips support from sjhill | Eric Andersen | 2002-03-29 | 5 | -2/+84 | |
| | ||||||
* | Attempt to follow symlinks if possible, and use that directory | Eric Andersen | 2002-03-20 | 1 | -1/+16 | |
| | | | | | for the base library directory. -Erik | |||||
* | Prevent uninitialized use | Eric Andersen | 2002-03-19 | 2 | -2/+2 | |
| | ||||||
* | Initial mips ldso porting effort from Steven J. Hill. Not yet | Eric Andersen | 2002-03-19 | 5 | -0/+448 | |
| | | | | complete, but off to a fine start. | |||||
* | Add new debug target (disabled by default) so that when debug | Eric Andersen | 2002-03-19 | 5 | -9/+14 | |
| | | | | | is on we now default to resolving symbols permanently.. -Erik | |||||
* | Revert my symlink detecting change for now, since it breaks | Eric Andersen | 2002-03-19 | 1 | -16/+6 | |
| | | | | | things. -Erik | |||||
* | Resolve symlinks when determining the real ld.so path, which is | Eric Andersen | 2002-03-19 | 1 | -23/+37 | |
| | | | | | now used as the default library search location. -Erik | |||||
* | Cleanup header files a bit. | Eric Andersen | 2002-03-19 | 15 | -43/+40 | |
| | | | | -Erik | |||||
* | Let older arm cross compilers work | Eric Andersen | 2002-03-18 | 2 | -2/+2 | |
| | | | | -Erik | |||||
* | Enable trace support by default, since it only costs 300 bytes | Eric Andersen | 2002-03-17 | 2 | -3/+13 | |
| | | | | | anyways, and people seem to expect it. -Erik | |||||
* | Remove an unused variable | Eric Andersen | 2002-03-14 | 2 | -2/+2 | |
| | ||||||
* | Fixup ldd behavior to match recent ldso change | Eric Andersen | 2002-03-11 | 1 | -6/+26 | |
| | ||||||
* | Seperate out the symbol resolution debugging, so it doesn't clutter | Eric Andersen | 2002-03-08 | 9 | -20/+86 | |
| | | | | | | | things up when we don't care about symbol resolution problems. Make the lib loader always look first in the directory where the shared lib loader was found. -Erik | |||||
* | Add a better error msg | Eric Andersen | 2002-02-23 | 1 | -1/+2 | |
| | ||||||
* | Make shared libs properly list the correct ld.so in the interp | Eric Andersen | 2002-02-18 | 1 | -1/+2 | |
| | | | | field by being sneaky. | |||||
* | Whine and exit if people link against GNU libc or | Eric Andersen | 2002-02-18 | 1 | -2/+5 | |
| | | | | GNU libc linked shared libraries. |