Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
implement 'UCLIBC_CC', which does this:
$ UCLIBC_CC=gcc-2.95 /usr/i386-linux-uclibc/bin/i386-uclibc-gcc --version
2.95.4
$ UCLIBC_CC=gcc-3.3 /usr/i386-linux-uclibc/bin/i386-uclibc-gcc --version
gcc-3.3 (GCC) 3.3 (Debian)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
to match that of current glibc; i.e. don't do anything and return success.
Apparently, php calls fflush() on a file opened as readonly before trying
to read. Eventually I'll add some config options to flag this and several
other instances of nonportable code.
|
|
though such things are completly unreliable crap)
|
|
pointer. Fix printing of '0x0x' in ldd output. Simplify discrimination of
libname, so doing things like dlopen("./libfoo.so",RTLD_NOW) with a leading
"./" in the path will work as expected.
-Erik
|
|
Add a few misc functions mentioned in time.h.
Revert davidm's change regarding using a define for the "/etc/TZ" path,
as this is eventually meant to be a configurable extension and not
unconditionally supported.
|
|
with getaddrinfo().
|
|
a local override changing -O0 to -O1 only for that directory.
|
|
|
|
|
|
After removal of stropts.h none of the files references bits/stropts.h, so
it can be removed.
Peter
|
|
So put it where it is supposed to be.
-Erik
|
|
|
|
|
|
-Erik
|
|
it compiles properly with gcc 3.3.
-Erik
|
|
namespace guarantees and conflicts with other programs that have used the
AC_FUNC_MALLOC autoconf macro properly.
|
|
|
|
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
|
|
instead for mips, which should be a bit faster and will be safer too.
|
|
-Erik
|
|
|
|
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
|
|
-Erik
|
|
script work with newer binutils versions.
|
|
file, to prevent stupid configure scripts from getting confused.
|
|
|
|
|
|
from converting "PIC" to "__PIC__"
|
|
|
|
should instead have been testing for '#ifdef __PIC__'. This resulted in
NON-PIC code getting mixed into the shared library. Oops!!!
-Erik
|
|
|
|
garbage. uClibc does not support STREAMS in any way whatsoever.
-Erik
|
|
they move/disappear from the expected location.
-Erik
|
|
|
|
|
|
|
|
back. Unfortunately, none of my test cases caught it.
|
|
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
|
|
%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.
|
|
|
|
* 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>
|
|
|
|
using r12. r12 is supposed to be preserved across C function calls. r0-r7
are trashable :-)
|
|
|
|
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.
|
|
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
|