Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-12 | Add a local '_dl_errno' to be used by syscalls in ldso, allowing | Eric Andersen | |
useful syscall failure diagnostics. | |||
2004-05-11 | As noticed by the sharp eyed Joakim Tjernlund, I stupidly | Eric Andersen | |
hard coded 4096 instead of PAGE_SIZE. Because I'm an idiot. | |||
2004-05-11 | make certain that getpagesize() returns correct the value for mips | Eric Andersen | |
by extracting the value from the ELF header. | |||
2004-05-11 | Bradley D. LaRonde, brad at laronde dot org writes: | Eric Andersen | |
If I change that ELF_RTYPE_CLASS_COPY to ELF_RTYPE_CLASS_PLT to tell _dl_find_hash to ignore stubs when resolving undefined functions without stubs, the dlopen tests all pass. dlopen gets a pointer to the libc.so malloc instead of a pointer to the libpthread malloc stub. Yay! :-) | |||
2004-05-10 | Save r0 before modifying it. | Tobias Anderberg | |
2004-04-20 | Cope with gcc 3.4's more aggressive persuit of attribute unused | Eric Andersen | |
2004-03-19 | Based on a patch from Alexandre Oliva, allow uClibc to compile | Eric Andersen | |
with __NR_mmap is not available (i.e. only __NR_mmap2) | |||
2004-03-18 | Look in /usr/X11R6/lib as well | Eric Andersen | |
2004-03-18 | Joakim Tjernlund writes: | Eric Andersen | |
Hi I just noticed that gcc has an "b"(Address base register) operand that will match all "r" registers but r0. It is a better fix then adding r0 to the clobber list. What do you think? | |||
2004-02-20 | Sigh. I switched the values... | Eric Andersen | |
2004-02-20 | Per discussion with Joakim Tjernlund, all the horrible weak declarations junk | Eric Andersen | |
in libdl pointing to the local 'foobar' function is garbage. This cleans all that up and makes the code much less horrible. Now it is only really really ugly (which is a marked improvement), | |||
2004-02-20 | Patch from Joakim Tjernlund: | Eric Andersen | |
white space cleanup and optimize the inner loop in dl_find_hash. | |||
2004-02-20 | ___brk_addr and __environ are not functions. Finding the broken | Eric Andersen | |
lookup on 'atexit' got me excited and I started fixing the same problem elsewhere. Except these were correct as-was, and were not a problem.... | |||
2004-02-20 | Slightly cleaner formatting | Eric Andersen | |
2004-02-20 | Patch by Joakim Tjernlund <joakim.tjernlund@lumentis.se>, which got | Manuel Novoa III | |
mips mostly working. From there, I tracked the bash failure to a bad _dl_atexit address and Erik took it from there. | |||
2004-02-20 | When doing symbol lookups on functions | Eric Andersen | |
2004-02-18 | Minor change to better match recent changes to other arches | Eric Andersen | |
2004-02-18 | Alexandre Oliva writes: | Eric Andersen | |
This patch adds code to uClibc to support a new ABI designed for the FR-V architecture, that enables text segments of executables and shared libraries to be shared by multiple processes on an OS such as uClinux, that can run on FR-V processors without an MMU. Patches for binutils and GCC have just been posted in the corresponding mailing lists. The binutils patch was approved, but there's one additional patch pending review, that I posted this week. An updated GCC patch will be posted to gcc-patches@gcc.gnu.org as soon as I complete testing (I used a known-good compiler to test the uClibc patch below). Since the existing dynamic loader code didn't support independent relocation of segments, it required changes that were somewhat extensive. I've added a number of new machine-specific macros to try to keep the platform and ABI-specific details outside the generic code. I hope this is not a problem. | |||
2004-02-17 | Fixup support for gcc 2.95 | Eric Andersen | |
2004-02-17 | Seperate out the startup stuff from the non-startup stuff. | Eric Andersen | |
Begin converting some big ugly macros to inline functions instead | |||
2004-02-17 | Kill off an arm specific hack, that fostered three other arch specific | Eric Andersen | |
hacks. Just check for the elf magic string one byte at a time.... | |||
2004-02-17 | When doing _dl_mmap to obtain a bit of anonymous memory, use a much more | Eric Andersen | |
sensible -1 fd, rather than pretending to work off of fd 0, which makes absolutely no sense. | |||
2004-02-17 | Do not duplicate stuff from ldso.h | Eric Andersen | |
2004-02-17 | Provide the ldso syscalls and string funcs earlier in the list | Eric Andersen | |
2004-02-14 | No point in including debug info for ldso. It isn't helpful to do so | Eric Andersen | |
since gdb can't do anything for us. | |||
2004-02-14 | Atsushi Nemoto writes: | Eric Andersen | |
Also, if you are to enable SUPPORT_LD_DEBUG on MIPS, I think this patch is needed too. | |||
2004-02-14 | Fix this as should have been done a long time ago... | Manuel Novoa III | |
2004-02-14 | Give gcc branch prediction some hits on obviously unlikely branches | Eric Andersen | |
2004-02-14 | Joakim Tjernlund writes: | Eric Andersen | |
Hi it is me again. This is the latest ldso patch. the NEW weak symbol handling works now with a little special handling in _dl_find_hash(). You get to chose if you want the new or old handling :) There was 2 missing _dl_check_if_named_library_is_loaded() calls in _dlopen(). I then disabled the _dl_check_if_named_library_is_loaded() in dl-elf.c since it is rendundant. Question, why does some _dl_linux_resolver(), like i386, have 2 calls to _dl_find_hash()? I think that is wrong, isn't it? I really hope you can check this out soon ... | |||
2004-02-12 | Based on a problem report and patch from Florian Schirmer, fix a compile | Eric Andersen | |
problem with mips -- contrary to my expectation gcc on mips _always_ defines __PIC__ which breaks the assumption inherent in my code. This should fix things up. | |||
2004-02-10 | Eliminate the PIE support option, and simply support that all the time | Eric Andersen | |
2004-02-10 | Fix function prototype to match the official ELF standard hash function | Eric Andersen | |
2004-02-10 | Rework file naming, aiming for at least a vague level of consistancy | Eric Andersen | |
2004-02-10 | oops, manditory forgotten patch | Eric Andersen | |
2004-02-10 | Fixup the definition of _dl_open, and move some bits back where they were, | Eric Andersen | |
till I properly finish the next step in my evil plan. | |||
2004-02-08 | Move _dl_printf and _dl_malloc to ldso, which is a more sensible | Eric Andersen | |
location for this stuff | |||
2004-02-08 | Cleanup whitespace and formatting | Eric Andersen | |
2004-02-08 | Add some permissions when creating the logfile | Eric Andersen | |
2004-02-07 | Thanks to Joakim's recent paches, we can now remove the FIXME | Eric Andersen | |
2004-02-07 | Restore the library entry point so it works. It does have | Eric Andersen | |
to be arch specific to work properly. | |||
2004-02-07 | Joakim Tjernlund writes: | Eric Andersen | |
Hi again All dltest* and test* programs pass for me. uClibc ld.so resolves according to the OLD weak symbol handling. I have tried to use the new scheme as well, but that segfaults in all cases but test3. | |||
2004-02-07 | Remove unneeded forward declaration | Eric Andersen | |
2004-02-07 | Split off the stuff that cannot use function into its own file, | Eric Andersen | |
to make it easier to treat it specially while not bothering the rest of the code with the same constraints. | |||
2004-02-07 | Step one, begin shuffling things around a bit | Eric Andersen | |
2004-02-07 | Yet more consistancy fixups | Eric Andersen | |
2004-02-07 | Use unsigned char * pointers | Eric Andersen | |
2004-02-06 | Trim trailing whitespace | Eric Andersen | |
2004-02-06 | Remove trailing whitespace | Eric Andersen | |
2004-02-05 | Fixup a badly merged update | Eric Andersen | |
-Erik | |||
2004-02-04 | Use a static const char array for static strings | Eric Andersen | |