summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Ronald Wahl fixing an IPV6 specific problemEric Andersen2003-06-171-2/+2
| | | | with getaddrinfo().
* When compiling with -O0, linuxthreads does not compile. So addEric Andersen2003-06-171-0/+2
| | | | a local override changing -O0 to -O1 only for that directory.
* Coldfire patch from Bernardo InnocentiEric Andersen2003-06-171-2/+2
|
* Ok... pasting in DUMPn() is unnecessary and technically incorrect.Manuel Novoa III2003-06-171-4/+4
|
* As noted by Peter S. MazingerEric Andersen2003-06-161-227/+0
| | | | | | | After removal of stropts.h none of the files references bits/stropts.h, so it can be removed. Peter
* For some strange reason, davidm put this file in the wrong spot.Eric Andersen2003-06-161-0/+0
| | | | | So put it where it is supposed to be. -Erik
* Fix a segfault when used on a library w/o an INTERP program header.Eric Andersen2003-06-161-3/+3
|
* Add memmem().Manuel Novoa III2003-06-163-3/+35
|
* Don't segfault when given things other than a regular file.Eric Andersen2003-06-151-0/+3
| | | | -Erik
* Implement syscall() for powerpc. Fixup syscall code soEric Andersen2003-06-156-30/+79
| | | | | it compiles properly with gcc 3.3. -Erik
* Comment out the rpl_malloc workaround. It was a good idea, but it violatesEric Andersen2003-06-141-0/+2
| | | | | namespace guarantees and conflicts with other programs that have used the AC_FUNC_MALLOC autoconf macro properly.
* Bump version number in preparation for a releaseEric Andersen2003-06-141-1/+1
|
* The mere presence of stropts.h causes many configure scripts to erroneouslyEric Andersen2003-06-121-88/+0
| | | | | | | believe that uClibc supports STREAMS. Well, we don't. So I am hereby removing this header file, since it was empty anyways. Applications that depend on stropts.h being present, but do not depend on its contents, are broken anyways. -Erik
* As suggested by Marshall M. Midden at brecis, use -mno-split-addressesEric Andersen2003-06-124-4/+4
| | | | instead for mips, which should be a bit faster and will be safer too.
* Set the default thread stack size to 16k for mmu-less systems.Eric Andersen2003-06-121-0/+4
| | | | -Erik
* Fix mips so it compiles with gcc 3.3Eric Andersen2003-06-122-60/+60
|
* Marshall M. Midden at brecis.com writes:Eric Andersen2003-06-114-0/+4
| | | | | | | | | | | | | | | | | The gnu ld and binutils for mips has a bug with relocation. It is possible for a relocation table to be created that is not able to be loaded correctly. We found this with the intersil wireless driver port. To enable a correctly created mips relocation table (either a .o, or ld -r) it is necessary to turn off one of the instruction re-scheduling passes. Specifically, on mips-gcc -fno-schedule-insns2 is needed. This is an FYI. The bug has been reported to the appropriate mailing lists. This patch is an effort to avoid this problem on mips. -Erik
* Fix arm syscall implementation so it does not blow chunks with gcc 3.3Eric Andersen2003-06-112-9/+25
| | | | -Erik
* Patch from Peter S. Mazinger to make the get-needed-libgcc-objectsEric Andersen2003-06-052-3/+4
| | | | script work with newer binutils versions.
* We do not provide getfsent and friends, so remove this headerEric Andersen2003-06-051-82/+0
| | | | file, to prevent stupid configure scripts from getting confused.
* Kill the runtime fallback to fork and make it be compile timeEric Andersen2003-06-031-19/+9
|
* Fix brokenEric Andersen2003-06-031-44/+46
|
* Patch from Peter S. Mazinger to fix some leftover problemsEric Andersen2003-06-022-2/+2
| | | | from converting "PIC" to "__PIC__"
* Clone still had a few little PIC problems....Eric Andersen2003-05-301-39/+84
|
* In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen2003-05-3014-21/+21
| | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
* Enable ADD_LIBGCC_FUNCTIONS by default on armEric Andersen2003-05-301-0/+4
|
* Eviscerate stropts.h so configure scripts won't try to use STREAMSEric Andersen2003-05-291-1/+8
| | | | | garbage. uClibc does not support STREAMS in any way whatsoever. -Erik
* Allow gcc to move/update by detecting where needed files are shouldEric Andersen2003-05-281-6/+101
| | | | | they move/disappear from the expected location. -Erik
* Accomodate building under cygwinEric Andersen2003-05-281-1/+16
|
* grr. It's a void *, not a char *.Eric Andersen2003-05-271-1/+1
|
* Change 'N' to '__size' to avoid conflicts with common #define of NEric Andersen2003-05-271-5/+5
|
* Sorry. Changed this while fixing the last bug and forgot to change itManuel Novoa III2003-05-231-1/+1
| | | | back. Unfortunately, none of my test cases caught it.
* Cope with autoconf's broken AC_FUNC_MALLOC macro, which redefines malloc asEric Andersen2003-05-231-0/+12
| | | | | | | | | 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
* Fix (hopefully) scanf behavior for nul bytes in the stream when processingManuel Novoa III2003-05-152-7/+23
| | | | | | | %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.
* Add in a default file for m68k.David McCullough2003-05-141-0/+61
|
* Sleep was returning the wrong value because:David McCullough2003-05-141-2/+4
| | | | | | | | | * 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>
* (__libc_open): Fix wacky indentation.Miles Bader2003-05-081-6/+6
|
* setjmp was trashing r12 which is bad and can cause apps to crash if they areDavid McCullough2003-05-011-3/+3
| | | | | using r12. r12 is supposed to be preserved across C function calls. r0-r7 are trashable :-)
* Some small fixups for the h8 support and add the h8s platform support.David McCullough2003-04-296-8/+102
|
* Fixup __libc_open to use varargs and match the prototype.David McCullough2003-04-291-2/+7
| | | | | 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.
* uClibc 0.9.19 has a bug in globfree(). If the previous call toEric Andersen2003-04-291-2/+2
| | | | | | | | | | | 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
* Comment on glibc's MALLOC_CHECK_ support.Eric Andersen2003-04-251-0/+8
|
* Thierry De Corte notices that when UCLIBC_HAS_FLOAT is disabled, we must alsoEric Andersen2003-04-231-5/+4
| | | | disable drand48, drand48_r, erand48, and erand48_r since they use floats.
* Fix SIGTRAP handling on arm. The defination of struct ucontext,Eric Andersen2003-04-211-8/+7
| | | | | which was copied from glibc, is wrong. So fix it. -Erik
* Patch from Marshall M. Midden:Eric Andersen2003-04-191-33/+39
| | | | | | 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.
* Konrad Taro Eisele noticed the sparc struct stat was broken.Eric Andersen2003-04-191-22/+18
| | | | Fix it.
* Patch from Liam Girdwood to fix mips profiling when usingEric Andersen2003-04-161-0/+5
| | | | newer gcc versions.
* (free_to_heap): Unlock the heap before returning in theMiles Bader2003-04-021-2/+5
| | | | __UCLIBC_UCLINUX_BROKEN_MUNMAP__ case. Fix from YYang1@Winbond.com.tw.
* Avoid errors with buggy preprocessorsEric Andersen2003-03-311-2/+2
|
* Oops. Don't call strip twiceEric Andersen2003-03-131-1/+0
|