summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-01-14Include missing errno.h header (as noted by Alan Hourihane).Eric Andersen
Fix uninitialized pthread mutex used to lock the list of aligned memory blocks.
2004-01-14Use the gcc 3.4 -funit-at-a-time optimization when availableEric Andersen
2004-01-14Ok.. we need to link with libgcc.a for some archs. I haven't looked atManuel Novoa III
all cases, but the archs I've looked at do build the needed routines as PIC so we should be ok.
2004-01-14Add a dummy (always fails) wcsftime. This is needed for the libstdc++ localeManuel Novoa III
implementation to build. Later this month I'll add a functional wcsftime.
2004-01-13Add another devfs subdir to the list of checked subdirs.Manuel Novoa III
2004-01-13Fixup dated commentsEric Andersen
2004-01-12Oops... Seems I forgot an else...Manuel Novoa III
2004-01-09As mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFSEric Andersen
2004-01-06Some badly behaved arches fail to provide a PAGE_SIZE defineEric Andersen
2004-01-04Implement res_search and res_querydomain based on netbsd code,Eric Andersen
but remove support for host aliases (the HOSTALIASES env variable) which looks like a very bad idea. -Erik
2004-01-04Bump .deb versionEric Andersen
2004-01-04Fix paragraph seperationEric Andersen
2004-01-04spell 'pthread' properlyEric Andersen
2004-01-04Fix grammarEric Andersen
2004-01-04Update for releaseEric Andersen
2004-01-04My mistake. We do need some weak pthread_* funcs. But we were previouslyManuel Novoa III
missing one in the glibc abi, and including a number of extras (which I left in commented). Unfortunately, this brings back the perl pthread bug. Fixing the incorrect weaks in libpthread wasn't sufficient to escape the shared loader bug. :-(
2004-01-03Fix up the news a bitEric Andersen
2004-01-03Update for releaseEric Andersen
2004-01-03Be sure to fully clean 2.6 kernel headers on 'make clean'Eric Andersen
2004-01-03Add ldflags where neededEric Andersen
2004-01-03And just like that, clone is now fixed.... Previously theEric Andersen
error handling code was mostly broken. -Erik
2004-01-03oopsEric Andersen
2004-01-03Minor changesEric Andersen
2004-01-02A useful/useless little malloc time testEric Andersen
2004-01-02Peter S. Mazinger writes:Eric Andersen
Hello Erik! I have made some cosmetical changes to the files, removed the added SCRT=-fPIC option from building the crt0.S file (but it is a requirement to build them with -fPIC), and changed some comments. I have left the ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them (see some earlier comment from PaX Team on this issue, as it is considered a bug). To have it work correctly, you'll also need removing COMPLETELY_PIC. One thing is missing: PIE_SUPPORT should be usable only for i386 (for now). Also added the support for propolice protection (that works for me and catches memcpy/strcpy attacks (but needs a special gcc version). Thanks, Peter
2004-01-02Minor update of the debian packaging stuffEric Andersen
2004-01-02Remove remnants of the gcc wrapperEric Andersen
2004-01-02Do not make tests depend on CC, since we no longer build a wrapper.Eric Andersen
2004-01-02Bump version, cleanup whitespaceEric Andersen
2004-01-02Cope with 2.6.x headersEric Andersen
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
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 :)
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it.
2004-01-02Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh)Manuel Novoa III
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.
2004-01-02Oops... temporarily support the old stdio code.Manuel Novoa III
2004-01-02The checking Erik added seems to be unnecessary. Without it, I am notManuel Novoa III
seeing any LTP failures.
2004-01-02Redo the exec functions to comply with SUSv3.Manuel Novoa III
2004-01-02Rewrite popen for SUSv3 compliance.Manuel Novoa III
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().
2004-01-02Minor fix from upstream glibc.Manuel Novoa III
2004-01-02Kept the same approach, but rewrote the code for the most part.Manuel Novoa III
Fixed some minor issues plus (as I recall) one SUSv3 errno case.
2003-12-31Fir errno return when the file/path is NULL or points to an empty string.Eric Andersen
-Erik
2003-12-31Add extra checks for sigprocmask and rt_sigprocmask syscalls.Eric Andersen
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.
2003-12-30Fix the manditory typo in my last minute untested fix.Eric Andersen
-Erik
2003-12-30Make sleep behave itself properly inthe presence of SIGCHLDEric Andersen
2003-12-30Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen
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
2003-12-30Update and restore malloc-simple. Slow as molasses, but triviallyEric Andersen
simple and releases memory immediately when asked to do so. -Erik
2003-12-28Fix a really dumb bug introduced in version 1.4 of this file (a patch for ipv6Eric Andersen
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
2003-12-28Fix whitespaceEric Andersen
2003-12-28remove unused fileEric Andersen
2003-12-27Handle the app_fini stuff in exit without requiring atexit().Manuel Novoa III
This avoids pulling in all the malloc/free code for a simple true/false app.
2003-12-27Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III
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.