summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-06-05Patch from Peter S. Mazinger to make the get-needed-libgcc-objectsEric Andersen
script work with newer binutils versions.
2003-06-05We do not provide getfsent and friends, so remove this headerEric Andersen
file, to prevent stupid configure scripts from getting confused.
2003-06-03Kill the runtime fallback to fork and make it be compile timeEric Andersen
2003-06-03Fix brokenEric Andersen
2003-06-02Patch from Peter S. Mazinger to fix some leftover problemsEric Andersen
from converting "PIC" to "__PIC__"
2003-05-30Clone still had a few little PIC problems....Eric Andersen
2003-05-30In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen
should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
2003-05-30Enable ADD_LIBGCC_FUNCTIONS by default on armEric Andersen
2003-05-29Eviscerate stropts.h so configure scripts won't try to use STREAMSEric Andersen
garbage. uClibc does not support STREAMS in any way whatsoever. -Erik
2003-05-28Allow gcc to move/update by detecting where needed files are shouldEric Andersen
they move/disappear from the expected location. -Erik
2003-05-28Accomodate building under cygwinEric Andersen
2003-05-27grr. It's a void *, not a char *.Eric Andersen
2003-05-27Change 'N' to '__size' to avoid conflicts with common #define of NEric Andersen
2003-05-23Sorry. Changed this while fixing the last bug and forgot to change itManuel Novoa III
back. Unfortunately, none of my test cases caught it.
2003-05-23Cope with autoconf's broken AC_FUNC_MALLOC macro, which redefines malloc asEric Andersen
rpl_malloc if it does not detect glibc style returning-a-valid-pointer-for-malloc(0) behavior. This wrapper calls malloc() as usual, but if N is zero, we allocate and return a 1-byte block instead.... sigh... -Erik
2003-05-15Fix (hopefully) scanf behavior for nul bytes in the stream when processingManuel Novoa III
%c, %s, and %[ specifiers. Note that scanf is undergoing rewrite so I didn't bother optimizing this. I did run all my regression tests though. Set EOF correctly for fmemopen on readonly streams. I really need to check what glibc behavior is for the various open modes though.
2003-05-14Add in a default file for m68k.David McCullough
2003-05-14Sleep was returning the wrong value because:David McCullough
* nanosleep returns the remaining time, not the time slept * nanosleep only fills out the remaining time if it returns -1 (ie., the sleep was interrupted) Fix from Paul Dale <pauli@snapgear.com>
2003-05-08(__libc_open): Fix wacky indentation.Miles Bader
2003-05-01setjmp was trashing r12 which is bad and can cause apps to crash if they areDavid McCullough
using r12. r12 is supposed to be preserved across C function calls. r0-r7 are trashable :-)
2003-04-29Some small fixups for the h8 support and add the h8s platform support.David McCullough
2003-04-29Fixup __libc_open to use varargs and match the prototype.David McCullough
On the H8 varargs are rather unusual and if you declare a function with varargs, it had better use them or it won't work.
2003-04-29uClibc 0.9.19 has a bug in globfree(). If the previous call toEric Andersen
glob(...,pglob) used the GLOB_DOOFFS flag to reserve the first pglob->gl_offs slots of pglob->gl_pathv, globfree(pglob) would attempt to free the objects pointed to by those slots. If those objects were not on the heap, the system would crash. The attached patch fixes this. Norm
2003-04-25Comment on glibc's MALLOC_CHECK_ support.Eric Andersen
2003-04-23Thierry De Corte notices that when UCLIBC_HAS_FLOAT is disabled, we must alsoEric Andersen
disable drand48, drand48_r, erand48, and erand48_r since they use floats.
2003-04-21Fix SIGTRAP handling on arm. The defination of struct ucontext,Eric Andersen
which was copied from glibc, is wrong. So fix it. -Erik
2003-04-19Patch from Marshall M. Midden:Eric Andersen
It turns out that uClibc's syslog.c does not close sockets when doing retries and when it exits due to errors. This patch fixes it.
2003-04-19Konrad Taro Eisele noticed the sparc struct stat was broken.Eric Andersen
Fix it.
2003-04-16Patch from Liam Girdwood to fix mips profiling when usingEric Andersen
newer gcc versions.
2003-04-02(free_to_heap): Unlock the heap before returning in theMiles Bader
__UCLIBC_UCLINUX_BROKEN_MUNMAP__ case. Fix from YYang1@Winbond.com.tw.
2003-03-31Avoid errors with buggy preprocessorsEric Andersen
2003-03-13Oops. Don't call strip twiceEric Andersen
2003-03-13resync with glibc 2.3Eric Andersen
2003-03-11sjhill needs to buy donuts for everyoneEric Andersen
2003-03-11Make it so debugging pthreads works, even with DODEBUG turned offEric Andersen
-Erik
2003-03-11Minor cleanup to better sync with glibc 2.3Eric Andersen
2003-03-11Compliance with MIPS ABI and MIPS kernel changes."Steven J. Hill"
2003-03-10Patch from Jordan Crouse to avoid potential rendering problemsEric Andersen
2003-03-07remove a leftover debug printfEric Andersen
2003-03-07Patch from Stefan AlliusEric Andersen
the ldd.c wasn't compilable for SuperH due to a missing ELFCLASSM define and the readelf executable was linked with a wrong dynamic linker path. To fix this I removed the --uclibc-use-build-dir. The patch also fixed all the compiler warnings (-Wall -W). Erik made a few additional changes to eliminate unused function arguments and fixup a static variable that was was doing the wrong thing
2003-03-07Patch from Stefan Allius:Eric Andersen
a make install_target stops if we have some sysmlinks in the destination target. This little patch force to install over a previous installed uClibc version,so we will allways get a consistent uClibc installation.
2003-03-07Patch from Stefan Allius:Eric Andersen
fix a couple of gcc 3.3 compiler warnings in gmon.c
2003-03-06Fixup ldd handling of multiple filesEric Andersen
2003-03-06more random changesEric Andersen
2003-03-06/me needs to learn to proofreadEric Andersen
2003-03-06Make the text a bit more clearEric Andersen
2003-03-06For now, leave mmap on mips using mmap1, since mmap2 seemsEric Andersen
to have 'issues' (i.e. it doesn't work 100% properly). -Erik
2003-03-06Finish off gmon based profiling for powerpcEric Andersen
2003-03-06Make profiling on arm workEric Andersen
2003-03-06Patch from Stefan Allius to finish off the last required bitsEric Andersen
for gmon profiling support for the SuperH target.