summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Added more debug code."Steven J. Hill"2002-05-201-0/+7
|
* Fixed MIPS dynamic linker by removing link order dependency bug."Steven J. Hill"2002-05-208-103/+91
|
* Another mips patch from Steven J. Hill:Eric Andersen2002-05-098-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 bracketsEric Andersen2002-05-092-4/+6
|
* No real need to make ldd.target and readelf.target be static...Eric Andersen2002-05-031-2/+2
|
* Patch from Tobias Anderberg <tobias.anderberg@axis.com> toEric Andersen2002-05-022-116/+54
| | | | remove the .asm calls
* Patch from Steven J. Hill <sjhill@realitydiluted.com>:Eric Andersen2002-05-0222-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 binariesEric Andersen2002-05-022-33/+105
|
* SEND_NUMBER_STDERR is supposed to be calling _dl_simple_ltoa(),Eric Andersen2002-04-101-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_REL24Eric Andersen2002-04-101-1/+4
| | | | | is encountered... -Erik
* Removed handling for R_PPC_REL24, since it is deceptively useless.David Schleef2002-04-091-0/+2
|
* Remove unused variableEric Andersen2002-04-031-1/+0
| | | | -Erik
* Steven's patch contained a spare SEND_NUMBER_STDERR call that wasEric Andersen2002-04-031-1/+1
| | | | | spamming us. Kill that. My bad for not spotting that when merging. -Erik
* Steven J. Hill's latest mips dynamic loader updatesEric Andersen2002-04-0213-71/+341
|
* Doh! This is _still_ wrong. Fix potential buffer overflow.Eric Andersen2002-04-021-4/+4
| | | | -Erik
* More mips support from sjhillEric Andersen2002-03-295-2/+84
|
* Attempt to follow symlinks if possible, and use that directoryEric Andersen2002-03-201-1/+16
| | | | | for the base library directory. -Erik
* Prevent uninitialized useEric Andersen2002-03-192-2/+2
|
* Initial mips ldso porting effort from Steven J. Hill. Not yetEric Andersen2002-03-195-0/+448
| | | | complete, but off to a fine start.
* Add new debug target (disabled by default) so that when debugEric Andersen2002-03-195-9/+14
| | | | | is on we now default to resolving symbols permanently.. -Erik
* Revert my symlink detecting change for now, since it breaksEric Andersen2002-03-191-16/+6
| | | | | things. -Erik
* Resolve symlinks when determining the real ld.so path, which isEric Andersen2002-03-191-23/+37
| | | | | now used as the default library search location. -Erik
* Cleanup header files a bit.Eric Andersen2002-03-1915-43/+40
| | | | -Erik
* Let older arm cross compilers workEric Andersen2002-03-182-2/+2
| | | | -Erik
* Enable trace support by default, since it only costs 300 bytesEric Andersen2002-03-172-3/+13
| | | | | anyways, and people seem to expect it. -Erik
* Remove an unused variableEric Andersen2002-03-142-2/+2
|
* Fixup ldd behavior to match recent ldso changeEric Andersen2002-03-111-6/+26
|
* Seperate out the symbol resolution debugging, so it doesn't clutterEric Andersen2002-03-089-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 msgEric Andersen2002-02-231-1/+2
|
* Make shared libs properly list the correct ld.so in the interpEric Andersen2002-02-181-1/+2
| | | | field by being sneaky.
* Whine and exit if people link against GNU libc orEric Andersen2002-02-181-2/+5
| | | | GNU libc linked shared libraries.