Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Replace 'new' in a prototype to avoid c++ problems. | Manuel Novoa III | 2003-08-01 | 1 | -1/+1 | |
| | ||||||
* | Add a new *scanf implementation, includeing the *wscanf functions. | Manuel Novoa III | 2003-08-01 | 7 | -67/+425 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration. | |||||
* | Remove the arch specific shm.h and use the fixed up common | Eric Andersen | 2003-08-01 | 6 | -496/+34 | |
| | | | | | one which now uses the kernel structs -Erik | |||||
* | Patch from Peter Kjellerstedt to make it simpler for arches to specify | Eric Andersen | 2003-07-15 | 1 | -1/+1 | |
| | | | | either -fPIC or -fpic | |||||
* | As noted by Felix Radensky back on 16 Mar: | Eric Andersen | 2003-07-03 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I've tried several times to compile uClibc with soft-float (both gcc-3.2.2 toolchain and wrapper), but applications compiled with uClibc always failed with "Invalid instruction". So I ended up disabling floating point at all and this works well. I also has no problem with glibc from Monta Vista, which is compiled with soft-float. My processor is PowerPC 405GP. Maybe the problem is in FP() macro definition in libc/sysdeps/linux/powerpc/setjmp.S and libc/sysdeps/linux/powerpc/__longjmp.S #ifdef __UCLIBC_HAS_FLOATS__ #define FP(x...) x #else #define FP(x...) #endif which should be defined as if defined __UCLIBC_HAS_FLOATS__ && ! defined __UCLIBC_HAS_SOFT_FLOAT__ #define FP(x...) x #else #define FP(x...) #endif | |||||
* | Fix a couple of typos | Eric Andersen | 2003-06-27 | 1 | -2/+1 | |
| | ||||||
* | Revenge of the Typo | Eric Andersen | 2003-06-27 | 1 | -1/+1 | |
| | ||||||
* | Cleanup a couple of ugly bits | Eric Andersen | 2003-06-27 | 1 | -6/+4 | |
| | ||||||
* | Implement mmap64 for arm | Eric Andersen | 2003-06-27 | 2 | -1/+80 | |
| | ||||||
* | add mmap64 for i386 | Eric Andersen | 2003-06-27 | 2 | -1/+113 | |
| | ||||||
* | oops. Fix the name so it is "mmap64", not "__mmap64" | Eric Andersen | 2003-06-27 | 1 | -2/+3 | |
| | ||||||
* | Actually, some arches do support _syscall6, so implement a generic version | Eric Andersen | 2003-06-27 | 1 | -7/+36 | |
| | | | | | for them... -Erik | |||||
* | Mention that the common mmap64 is a stub and must be overridden | Eric Andersen | 2003-06-27 | 1 | -0/+7 | |
| | | | | on a per arch basis using platform specific code | |||||
* | Add missing madvise syscall | Eric Andersen | 2003-06-27 | 1 | -0/+6 | |
| | ||||||
* | As noted by Peter S. Mazinger | Eric Andersen | 2003-06-16 | 1 | -227/+0 | |
| | | | | | | | After removal of stropts.h none of the files references bits/stropts.h, so it can be removed. Peter | |||||
* | Implement syscall() for powerpc. Fixup syscall code so | Eric Andersen | 2003-06-15 | 4 | -14/+61 | |
| | | | | | it compiles properly with gcc 3.3. -Erik | |||||
* | Fix arm syscall implementation so it does not blow chunks with gcc 3.3 | Eric Andersen | 2003-06-11 | 2 | -9/+25 | |
| | | | | -Erik | |||||
* | Kill the runtime fallback to fork and make it be compile time | Eric Andersen | 2003-06-03 | 1 | -19/+9 | |
| | ||||||
* | Fix broken | Eric Andersen | 2003-06-03 | 1 | -44/+46 | |
| | ||||||
* | Clone still had a few little PIC problems.... | Eric Andersen | 2003-05-30 | 1 | -39/+84 | |
| | ||||||
* | In a number of places we erroneously used tests such as '#ifdef PIC' when we | Eric Andersen | 2003-05-30 | 8 | -15/+15 | |
| | | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik | |||||
* | (__libc_open): Fix wacky indentation. | Miles Bader | 2003-05-08 | 1 | -6/+6 | |
| | ||||||
* | setjmp was trashing r12 which is bad and can cause apps to crash if they are | David McCullough | 2003-05-01 | 1 | -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 McCullough | 2003-04-29 | 3 | -4/+18 | |
| | ||||||
* | Fixup __libc_open to use varargs and match the prototype. | David McCullough | 2003-04-29 | 1 | -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. | |||||
* | Fix SIGTRAP handling on arm. The defination of struct ucontext, | Eric Andersen | 2003-04-21 | 1 | -8/+7 | |
| | | | | | which was copied from glibc, is wrong. So fix it. -Erik | |||||
* | Konrad Taro Eisele noticed the sparc struct stat was broken. | Eric Andersen | 2003-04-19 | 1 | -22/+18 | |
| | | | | Fix it. | |||||
* | Patch from Liam Girdwood to fix mips profiling when using | Eric Andersen | 2003-04-16 | 1 | -0/+5 | |
| | | | | newer gcc versions. | |||||
* | sjhill needs to buy donuts for everyone | Eric Andersen | 2003-03-11 | 1 | -1/+0 | |
| | ||||||
* | Compliance with MIPS ABI and MIPS kernel changes. | "Steven J. Hill" | 2003-03-11 | 2 | -17/+2 | |
| | ||||||
* | Patch from Stefan Allius: | Eric Andersen | 2003-03-07 | 2 | -3/+7 | |
| | | | | fix a couple of gcc 3.3 compiler warnings in gmon.c | |||||
* | For now, leave mmap on mips using mmap1, since mmap2 seems | Eric Andersen | 2003-03-06 | 1 | -0/+5 | |
| | | | | | to have 'issues' (i.e. it doesn't work 100% properly). -Erik | |||||
* | Finish off gmon based profiling for powerpc | Eric Andersen | 2003-03-06 | 3 | -4/+120 | |
| | ||||||
* | Make profiling on arm work | Eric Andersen | 2003-03-06 | 2 | -2/+15 | |
| | ||||||
* | Patch from Stefan Allius to finish off the last required bits | Eric Andersen | 2003-03-06 | 3 | -29/+90 | |
| | | | | for gmon profiling support for the SuperH target. | |||||
* | The vfork system call on powerpc seems to be completely | Eric Andersen | 2003-03-05 | 1 | -3/+9 | |
| | | | | broken. Use fork instead, per glibc behavior. | |||||
* | Default to using fork() for vfork() when no arch specific | Eric Andersen | 2003-03-05 | 2 | -1/+9 | |
| | | | | implementation of vfork is present. | |||||
* | Fix compile when profiling is disabled | Eric Andersen | 2003-03-04 | 1 | -1/+1 | |
| | ||||||
* | Initial effort at adding profiling support. | Eric Andersen | 2003-03-03 | 53 | -3/+2660 | |
| | ||||||
* | Fix the double sub #48, should have been an add :-) | David McCullough | 2003-03-03 | 1 | -1/+1 | |
| | ||||||
* | cut-n-paste strikes again | Eric Andersen | 2003-03-02 | 1 | -1/+1 | |
| | ||||||
* | Add missing alias __modify_ldt | Eric Andersen | 2003-03-02 | 1 | -0/+1 | |
| | ||||||
* | Major update for pthreads, based in large part on improvements | Eric Andersen | 2003-02-27 | 2 | -10/+9 | |
| | | | | | from glibc 2.3. This should make threads much more efficient. -Erik | |||||
* | Prefer mmap2 for mips when available. Fix the mmap test. | Eric Andersen | 2003-02-26 | 1 | -0/+5 | |
| | | | | -Erik | |||||
* | Fixup some small issues that show up when large file support is disabled | Eric Andersen | 2003-02-24 | 1 | -0/+4 | |
| | ||||||
* | Fix FP handling alignment problems on ARM platforms without an FPU, | David McCullough | 2003-02-23 | 2 | -0/+4 | |
| | | | | patch from Vadim Lebedev <vadim@7chips.com>. | |||||
* | Some stuff I forgot to check in about a month ago... | Eric Andersen | 2003-02-23 | 2 | -27/+39 | |
| | | | | -Erik | |||||
* | Reserve stack space for args we pass to __uClibc_main. | Miles Bader | 2003-02-21 | 1 | -2/+3 | |
| | ||||||
* | Add back in PTRACE_SINGLESTEP. | Miles Bader | 2003-02-20 | 1 | -3/+7 | |
| | | | | Use decimal instead of hex to agree with common/sys/ptrace.h. | |||||
* | Fixup ioctl so we can special case powerpc silliness | Eric Andersen | 2003-02-18 | 5 | -22/+95 | |
| |