summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-03-06note that syscall on mips needs to be fixedEric Andersen
2004-02-20Sigh. I switched the values...Eric Andersen
2004-02-20Per discussion with Joakim Tjernlund, all the horrible weak declarations junkEric 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-20Patch 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 brokenEric 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-20Slightly cleaner formattingEric Andersen
2004-02-20Patch by Joakim Tjernlund <joakim.tjernlund@lumentis.se>, which gotManuel 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-20When doing symbol lookups on functionsEric Andersen
2004-02-19Update the x86 processor listing a bit, to preempt further questionsEric Andersen
about the best settings the AMD Elan and the VIA Nehemiah.
2004-02-18Fixup naming of '_mmap' to 'mmap' so it will properly overrideEric Andersen
the symbol in common.
2004-02-18Minor change to better match recent changes to other archesEric Andersen
2004-02-18Alexandre 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-18Alexandre Oliva writes:Eric Andersen
While testing the FR-V code with GCC mainline, I ran into some problems in the RPC code. It relies on a GCC extension that is no longer available, namely, the result of a cast is no longer considered an lvalue. This patch enables the code to compile. I haven't been able to test RPC though, especially in a multi-threaded environment.
2004-02-17Fixup support for gcc 2.95Eric Andersen
2004-02-17Seperate out the startup stuff from the non-startup stuff.Eric Andersen
Begin converting some big ugly macros to inline functions instead
2004-02-17Fixup fdatasync on alpha, thanks to Alan HourihaneEric Andersen
2004-02-17Sigh... Fall back to alloca() if munmap is broken (uClinux).Manuel Novoa III
2004-02-17Kill off an arm specific hack, that fostered three other arch specificEric Andersen
hacks. Just check for the elf magic string one byte at a time....
2004-02-17When doing _dl_mmap to obtain a bit of anonymous memory, use a much moreEric Andersen
sensible -1 fd, rather than pretending to work off of fd 0, which makes absolutely no sense.
2004-02-17Do not duplicate stuff from ldso.hEric Andersen
2004-02-17Provide the ldso syscalls and string funcs earlier in the listEric Andersen
2004-02-15Generic fork works. Use it instead since this didn't handle errno_location.Manuel Novoa III
2004-02-15Oops.Eric Andersen
2004-02-15Mips can use the generic vforkEric Andersen
2004-02-15Cris can use the generic vforkEric Andersen
2004-02-15This should not be inlined. This should probably use aEric Andersen
weak alias as well...
2004-02-15Fixup fork implementation to provide the __libc_fork symbolEric Andersen
2004-02-15Use the generic fork implementation on sh64Eric Andersen
2004-02-14Add some padding on the bottomEric Andersen
2004-02-14Update FAQ a bitEric Andersen
2004-02-14No point in including debug info for ldso. It isn't helpful to do soEric Andersen
since gdb can't do anything for us.
2004-02-14Atsushi Nemoto writes:Eric Andersen
Also, if you are to enable SUPPORT_LD_DEBUG on MIPS, I think this patch is needed too.
2004-02-14Fix this as should have been done a long time ago...Manuel Novoa III
2004-02-14Give gcc branch prediction some hits on obviously unlikely branchesEric Andersen
2004-02-14Joakim 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-13Yet more fixups..Eric Andersen
2004-02-13Done free path if it equals not_foundEric Andersen
Remember to flose an fopened file
2004-02-13Another little touch up to avoid problems...Eric Andersen
2004-02-13A better fix...Eric Andersen
2004-02-13Fix the annoying "not a dynamic executable" problem when running lddEric Andersen
on libuClibc
2004-02-13Cleanup whitespace and formattingEric Andersen
2004-02-13Avoid potential double free when locate_library_file() is usedEric Andersen
on fully resolved names
2004-02-13Oops.. The custom stream funcs should only be compiled if wanted.Manuel Novoa III
2004-02-12Based on a problem report and patch from Florian Schirmer, fix a compileEric 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-12More todo list updatesEric Andersen
2004-02-12Paul Mundt lethal at linux-sh dot org writes:Eric Andersen
We can't use trapa #0xff on sh2, the only permissible trapa ranges are 32 to 63. On SH-2, we use trapa32 to issue a break in the same way that trapa #0xff is used on SH-3/4. This behavior is implementation specific, but is what is used in sh-ipl+g, linux, eCos, uITRON, etc. so we follow suit here.
2004-02-12Add missing mips specific include/sys/user.hEric Andersen
2004-02-12Add our own copies of the include/scsi header files, per what glibcEric Andersen
does, rather than depending on the kernel header files. -Erik
2004-02-11New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III
Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
2004-02-11Fix bug from the syscall reorganization, detected by python's test_poll.py.Manuel Novoa III
The #ifdef __NR_poll test was failing because it was done before any includes. Hence, the emulation was always being used. NOTE: The emulation fails a couple of tests in test_poll.py!