Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rohde at soap dot adsl dot dk writes: | Eric Andersen | 2004-01-02 | 1 | -1/+1 |
| | | | | | | | | The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. Same applies to uClibc/libc/sysdeps/linux/powerpc/__longjmp.S Hope there aren't other files I've missed :) | ||||
* | rohde at soap dot adsl dot dk writes: | Eric Andersen | 2004-01-02 | 1 | -1/+1 |
| | | | | | The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. | ||||
* | Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh) | Manuel Novoa III | 2004-01-02 | 1 | -10/+13 |
| | | | | | | Fix (hopefully) a potential problem with failed freopen() calls. The fix isn't tested since I've been working on the replacement stdio core code which will go in after the next release. | ||||
* | Oops... temporarily support the old stdio code. | Manuel Novoa III | 2004-01-02 | 1 | -0/+5 |
| | |||||
* | The checking Erik added seems to be unnecessary. Without it, I am not | Manuel Novoa III | 2004-01-02 | 1 | -72/+5 |
| | | | | seeing any LTP failures. | ||||
* | Redo the exec functions to comply with SUSv3. | Manuel Novoa III | 2004-01-02 | 8 | -208/+332 |
| | |||||
* | Rewrite popen for SUSv3 compliance. | Manuel Novoa III | 2004-01-02 | 1 | -47/+171 |
| | | | | | | | Added a list of popen()'d to store pids and use waitpid() in pclose(). Loop on waitpid() failure due to EINTR as required. Close parent's popen()'d FILEs in the {v}fork()'d child. Fix failure exit code for failed execve(). | ||||
* | Minor fix from upstream glibc. | Manuel Novoa III | 2004-01-02 | 1 | -4/+8 |
| | |||||
* | Kept the same approach, but rewrote the code for the most part. | Manuel Novoa III | 2004-01-02 | 1 | -86/+98 |
| | | | | Fixed some minor issues plus (as I recall) one SUSv3 errno case. | ||||
* | Fir errno return when the file/path is NULL or points to an empty string. | Eric Andersen | 2003-12-31 | 1 | -6/+6 |
| | | | | -Erik | ||||
* | Add extra checks for sigprocmask and rt_sigprocmask syscalls. | Eric Andersen | 2003-12-31 | 1 | -4/+34 |
| | | | | | | | The rt_sigprocmask syscall has broken error handling in 2.4.x kernels, while the sigprocmask syscall appears to get things right. Regardless we should be extra careful, and add these checks. | ||||
* | Fix the manditory typo in my last minute untested fix. | Eric Andersen | 2003-12-30 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Make sleep behave itself properly inthe presence of SIGCHLD | Eric Andersen | 2003-12-30 | 2 | -11/+8 |
| | |||||
* | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | 2003-12-30 | 18 | -798/+3133 |
| | | | | | | | Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik | ||||
* | Update and restore malloc-simple. Slow as molasses, but trivially | Eric Andersen | 2003-12-30 | 2 | -0/+233 |
| | | | | | simple and releases memory immediately when asked to do so. -Erik | ||||
* | Fix a really dumb bug introduced in version 1.4 of this file (a patch for ipv6 | Eric Andersen | 2003-12-28 | 1 | -1/+3 |
| | | | | | | | | | support) which could cause things like EOF and read errors while reading /etc/services to always return a TRY_AGAIN. The perl test suite would alloc a larger buffer and try again until all memory was exhausted. When we get a read error, or EOF, it means we didn't get what we wanted, and so we should return an error. Doing so fixes the failing perl 5.8.2 test. -Erik | ||||
* | Fix whitespace | Eric Andersen | 2003-12-28 | 1 | -5/+5 |
| | |||||
* | Handle the app_fini stuff in exit without requiring atexit(). | Manuel Novoa III | 2003-12-27 | 2 | -3/+13 |
| | | | | This avoids pulling in all the malloc/free code for a simple true/false app. | ||||
* | Fix a long-standing bug with pthreads. A couple of linuxthreads files | Manuel Novoa III | 2003-12-27 | 33 | -152/+126 |
| | | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests. | ||||
* | oops | Eric Andersen | 2003-12-22 | 1 | -1/+1 |
| | |||||
* | implement the worthless cuserid() function we claim to support. | Eric Andersen | 2003-12-22 | 1 | -0/+8 |
| | | | | | This isn't in SuSv3, but is expected by at least some apps such as emacs... | ||||
* | In unistd.h, getpgrp() is redirected to __getpgid(), but | Eric Andersen | 2003-12-22 | 1 | -1/+3 |
| | | | | we did not have a __getpgid(). Fix that. | ||||
* | Patch from Paul Mundt <lethal@linux-sh.org>: | Eric Andersen | 2003-12-17 | 5 | -1/+431 |
| | | | | | The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's glibc tree. | ||||
* | Fix some dst issues in _time_mktime(). | Manuel Novoa III | 2003-12-14 | 1 | -5/+12 |
| | | | | | Normalize the tm_isdst value to -1, 0, or 1. If no dst for this timezone, then reset tm_isdst to 0. | ||||
* | Fix a couple of 'declaration after statement' errors. | Manuel Novoa III | 2003-12-14 | 2 | -3/+2 |
| | |||||
* | Paul Mundt <lethal@linux-sh.org> writes: | Eric Andersen | 2003-12-05 | 1 | -0/+96 |
| | | | | | | | | | | | | | This patch adds the libpthread backend bits for sh64. As noted previously, we can't inline things like the testandset() in pt-machine.h as we need to use a completely different ISA / CFLAGS in order for this to work. As a result, this patch is somewhat of a RFC as well to see what people think of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach I've taken currently has been to provide a sysdeps/Makefile with a note that TARGET_ARCHs that want build rules can simply add themselves into the list of matching architectures to add to the subdir rule for. This probably isn't the cleanest solution, but it's quite transparent and works quite well. | ||||
* | Fix infinite loop in putgrent (forgotten increment). | Manuel Novoa III | 2003-12-04 | 1 | -0/+1 |
| | |||||
* | Fix arm profiling support, which was accidentally removed | Eric Andersen | 2003-12-04 | 1 | -0/+6 |
| | |||||
* | Building of iconv.o was accidently always disabled. | Manuel Novoa III | 2003-12-04 | 1 | -8/+4 |
| | | | | Also, build the iconv app in utils. | ||||
* | Lethal noticed that the generated file gmon-start.S was not | Eric Andersen | 2003-12-03 | 4 | -0/+8 |
| | | | | being cleaned up. | ||||
* | Patch from lethal, adding syscall() to the sh64 port | Eric Andersen | 2003-12-03 | 2 | -1/+25 |
| | |||||
* | remove some garbage | Eric Andersen | 2003-12-03 | 1 | -1/+0 |
| | |||||
* | Add a syscall() implementation using a hacked version of the syscall6 macro. | Manuel Novoa III | 2003-12-02 | 2 | -1/+26 |
| | | | | Untested, but syscall() is needed by busybox for pivot_root at least. | ||||
* | Add function versions of ntohl and friends | Eric Andersen | 2003-12-02 | 2 | -1/+68 |
| | |||||
* | Avoid a potentially undefined operation with a veriable++ in a macro | Eric Andersen | 2003-12-02 | 1 | -2/+2 |
| | |||||
* | Put in a dummy reference to main so busybox will link. | Manuel Novoa III | 2003-12-02 | 1 | -0/+6 |
| | |||||
* | Patch by "Bradley D. LaRonde" <brad@ltc.com> for boehm garbage collector. | Manuel Novoa III | 2003-11-29 | 1 | -0/+3 |
| | |||||
* | Another missing mips function, needed by the boehm garbage collector. | Manuel Novoa III | 2003-11-28 | 2 | -1/+32 |
| | |||||
* | Add sysmips(), based on a patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | Manuel Novoa III | 2003-11-28 | 3 | -2/+7 |
| | |||||
* | Remove SAFECFLAGS. It was a workaround for failures in old awk script | Eric Andersen | 2003-11-22 | 15 | -116/+33 |
| | | | | | | | | | | used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well. | ||||
* | Add missing weak alias for bcmp | Eric Andersen | 2003-11-20 | 1 | -0/+4 |
| | |||||
* | Always include locale.h, which was included by libintl.h only when | Manuel Novoa III | 2003-11-20 | 1 | -0/+2 |
| | | | | optimizing. | ||||
* | Don't depend on BSD naming | Eric Andersen | 2003-11-20 | 1 | -12/+12 |
| | |||||
* | Add an initial set of arm optimized string functions. These | Eric Andersen | 2003-11-20 | 12 | -1/+1117 |
| | | | | | do seem to make noticable speed improvement... -Erik | ||||
* | Lets try that one again... | Eric Andersen | 2003-11-20 | 1 | -8/+6 |
| | |||||
* | Make certain that the arch specific stuff is always compiled last | Eric Andersen | 2003-11-20 | 1 | -4/+7 |
| | |||||
* | Fixup dependancies to ensure arch specific string functions | Eric Andersen | 2003-11-20 | 1 | -3/+3 |
| | | | | will always win | ||||
* | Fix the return value for fputs when passed an empty string. | Manuel Novoa III | 2003-11-19 | 1 | -1/+4 |
| | | | | | Indirectly detected by gmp-4.1.2 self-tests and reported by "Peter S. Mazinger" <ps.m@gmx.net>. | ||||
* | If __NR_ftruncate64 isn't defined, do the best we can. | Manuel Novoa III | 2003-11-17 | 1 | -5/+19 |
| | |||||
* | I forgot to update the thread locking in the last dst fix. | Manuel Novoa III | 2003-11-16 | 1 | -2/+4 |
| |