summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Alexandre Oliva writes:Eric Andersen2004-03-182-1/+42
| | | | | I added this function after I posted the last version of the FR-V patch. Add syscall.c.
* Supply '__bzero' with 'bzero' as just a weak alias (since it is not SuSv3)Eric Andersen2004-03-182-4/+7
|
* Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (whichEric Andersen2004-03-1811-25/+26
| | | | | is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead.
* Look in /usr/X11R6/lib as wellEric Andersen2004-03-182-1/+2
|
* Reduce memory used by static buffers and allocate that memory dynamiclyEric Andersen2004-03-185-13/+68
| | | | | | | | | | instead. Based on an initial patch from Tobias Anderberg, but reworked. I asked Tobias to look into doing something more like what is done in busybox, but that proved to be a pain. One possible concern is that these buffers will probably show up as memory leaks i.e. with valgrind. Perhaps we should add in an atexit call to free this memory right after we allocate it?
* Joakim Tjernlund writes:Eric Andersen2004-03-181-8/+4
| | | | | | | | | | 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?
* Cope gracefully with missing module syscallsEric Andersen2004-03-124-6/+21
|
* Rewrite the err/warn functions as they were broken (__noreturn__ funcsManuel Novoa III2004-03-113-76/+111
| | | | | were returning). Anyway, also make them threadsafe and smaller. The error.c file still needs work.
* Bug fix: gethostbyname2_r would fail if /etc/host was missing.Manuel Novoa III2004-03-101-21/+38
| | | | | Bug fix: gethostbyname_r checked errno without first setting it to a known value.
* More detail about malloc-simpleEric Andersen2004-03-091-2/+5
|
* Update todo list indicating the items remaining before 0.9.27Eric Andersen2004-03-091-11/+19
|
* Fix commentEric Andersen2004-03-081-2/+2
|
* Update with the contents of a very helpful comparison ofEric Andersen2004-03-061-7/+79
| | | | interfaces vs SuSv3 from heukelum at freemail dot nl
* note that syscall on mips needs to be fixedEric Andersen2004-03-061-0/+2
|
* Sigh. I switched the values...Eric Andersen2004-02-201-2/+2
|
* Per discussion with Joakim Tjernlund, all the horrible weak declarations junkEric Andersen2004-02-201-78/+96
| | | | | | 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),
* Patch from Joakim Tjernlund:Eric Andersen2004-02-201-22/+13
| | | | white space cleanup and optimize the inner loop in dl_find_hash.
* ___brk_addr and __environ are not functions. Finding the brokenEric Andersen2004-02-201-2/+2
| | | | | | 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....
* Slightly cleaner formattingEric Andersen2004-02-201-4/+4
|
* Patch by Joakim Tjernlund <joakim.tjernlund@lumentis.se>, which gotManuel Novoa III2004-02-201-1/+1
| | | | | mips mostly working. From there, I tracked the bash failure to a bad _dl_atexit address and Erik took it from there.
* When doing symbol lookups on functionsEric Andersen2004-02-201-4/+4
|
* Update the x86 processor listing a bit, to preempt further questionsEric Andersen2004-02-192-8/+21
| | | | about the best settings the AMD Elan and the VIA Nehemiah.
* Fixup naming of '_mmap' to 'mmap' so it will properly overrideEric Andersen2004-02-182-1/+1
| | | | the symbol in common.
* Minor change to better match recent changes to other archesEric Andersen2004-02-182-61/+63
|
* Alexandre Oliva writes:Eric Andersen2004-02-1839-1/+3996
| | | | | | | | | | | | | | | | | | | | 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.
* Alexandre Oliva writes:Eric Andersen2004-02-188-12/+12
| | | | | | | | | | 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.
* Fixup support for gcc 2.95Eric Andersen2004-02-171-15/+15
|
* Seperate out the startup stuff from the non-startup stuff.Eric Andersen2004-02-1718-694/+696
| | | | | Begin converting some big ugly macros to inline functions instead
* Fixup fdatasync on alpha, thanks to Alan HourihaneEric Andersen2004-02-171-0/+7
|
* Sigh... Fall back to alloca() if munmap is broken (uClinux).Manuel Novoa III2004-02-171-8/+6
|
* Kill off an arm specific hack, that fostered three other arch specificEric Andersen2004-02-172-13/+5
| | | | hacks. Just check for the elf magic string one byte at a time....
* When doing _dl_mmap to obtain a bit of anonymous memory, use a much moreEric Andersen2004-02-172-4/+4
| | | | | sensible -1 fd, rather than pretending to work off of fd 0, which makes absolutely no sense.
* Do not duplicate stuff from ldso.hEric Andersen2004-02-171-12/+0
|
* Provide the ldso syscalls and string funcs earlier in the listEric Andersen2004-02-171-3/+4
|
* Generic fork works. Use it instead since this didn't handle errno_location.Manuel Novoa III2004-02-152-66/+1
|
* Oops.Eric Andersen2004-02-151-1/+2
|
* Mips can use the generic vforkEric Andersen2004-02-152-31/+1
|
* Cris can use the generic vforkEric Andersen2004-02-152-12/+1
|
* This should not be inlined. This should probably use aEric Andersen2004-02-151-2/+2
| | | | weak alias as well...
* Fixup fork implementation to provide the __libc_fork symbolEric Andersen2004-02-152-5/+7
|
* Use the generic fork implementation on sh64Eric Andersen2004-02-152-36/+1
|
* Add some padding on the bottomEric Andersen2004-02-141-0/+64
|
* Update FAQ a bitEric Andersen2004-02-141-93/+181
|
* No point in including debug info for ldso. It isn't helpful to do soEric Andersen2004-02-141-5/+4
| | | | since gdb can't do anything for us.
* Atsushi Nemoto writes:Eric Andersen2004-02-141-2/+3
| | | | | Also, if you are to enable SUPPORT_LD_DEBUG on MIPS, I think this patch is needed too.
* Fix this as should have been done a long time ago...Manuel Novoa III2004-02-141-0/+3
|
* Give gcc branch prediction some hits on obviously unlikely branchesEric Andersen2004-02-149-30/+31
|
* Joakim Tjernlund writes:Eric Andersen2004-02-1425-123/+177
| | | | | | | | | | | | | | | | | | 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 ...
* Yet more fixups..Eric Andersen2004-02-131-2/+8
|
* Done free path if it equals not_foundEric Andersen2004-02-131-1/+5
| | | | Remember to flose an fopened file