summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
* Do not enable debugging for initfini.s and friends. Won't work anyways.Eric Andersen2002-03-141-3/+3
| | | | -Erik
* Add implementations of strtof() and strtold(). These are a bitEric Andersen2002-03-143-1/+65
| | | | | | lame, since internally I'm just using strtod, but that keeps things small, and has the side effect of making these easy to write. -Erik
* This should be the last piece needed to make constructors work (usingEric Andersen2002-03-141-26/+32
| | | | | | | a native gcc toolchain). The gcc wrapper still needs some touchups, but we seem to be _there_. Also some touchups to try and shrink uclinux binary sized by stubbing out unneeded stuff. -Erik
* Add some symbols needed for C++ to work. Temporary hack...Eric Andersen2002-03-142-2/+19
|
* I vow to rerun _all_ the tests before making commits. :-(Manuel Novoa III2002-03-141-2/+2
| | | | | I successfully managed to blow away all the modeflags for the file _except_ the one dealing with buffering...
* Build our own crti.o and crtn.o with a cross arch method that IEric Andersen2002-03-1313-13/+164
| | | | | can live with much better the what glibc does. -Erik
* Merge in an ugly pile of rand* functions from glibc. :(Eric Andersen2002-03-1317-2/+578
|
* Modified because of the new str to int funcs.Manuel Novoa III2002-03-131-7/+8
|
* New versions of the various string to int functions which are smallerManuel Novoa III2002-03-135-437/+454
| | | | | | than the old ones, even with errno setting turned on now. Also, at least on i386, we no longer need the long long helper functions for division and mod from libgcc.a.
* Fix stdin/stdout initialization of buffering type. I had changed theManuel Novoa III2002-03-131-2/+2
| | | | default static initiailization and forgotten to update _stdio_init().
* Oops... forgot to update abort.c.Manuel Novoa III2002-03-131-4/+7
|
* Apply Miles Bader's missing __va_copy() fix.Manuel Novoa III2002-03-131-0/+11
|
* Fix another O_LARGEFILE bug. Also, I forget to make floating point optionalManuel Novoa III2002-03-123-16/+42
| | | | in the new printf code.
* So much for fcntl flags being resonably consistent across archs... (hopefully)Manuel Novoa III2002-03-121-10/+14
| | | | | fix O_APPEND and O_LARGEFILE handling in _stdio_fopen(). Someone else will have to check of course...
* Fix fflush(NULL) and tweak _stdio_term() for the unbuffered stdio option.Manuel Novoa III2002-03-121-2/+10
|
* Oops.. had left thread support forced on.Manuel Novoa III2002-03-121-1/+1
|
* Fix a segfault in scandir for empty directories. After looking overEric Andersen2002-03-121-65/+77
| | | | | our version, I'm adopting the scandir from glibc (with minor changes) instead as it seems simpler and already correct.
* Fixup redefinition of NL_ARGMAXEric Andersen2002-03-122-3/+3
|
* Deal with cvs "feature"... or is that cvs _user_...Manuel Novoa III2002-03-122-0/+5204
|
* Swap in the new stdio code.Manuel Novoa III2002-03-1224-2281/+816
|
* Avoid forced -lpthread lnkage when threading is enabledEric Andersen2002-03-091-1/+1
|
* Remove sys/io.h include, since not everyone has itEric Andersen2002-03-051-2/+0
|
* Initial checkinMiles Bader2002-03-052-0/+135
|
* Re-add files which were mistakenly deleted during the big bits/ update.Miles Bader2002-03-058-0/+521
|
* Remove extraneous fileMiles Bader2002-03-051-10/+0
|
* Remove generated stuff, restore sh/sys/procfs.h from M. R. BrownEric Andersen2002-03-024-498/+119
|
* Move syscall.h generation to the top level MakefileEric Andersen2002-03-019-9/+0
| | | | -Erik
* Patch from Miles Bader to allow Large File support on the v850.Eric Andersen2002-03-013-3/+70
|
* Fix for some comments, from Miles BaderEric Andersen2002-03-011-4/+2
|
* Patch from M. R. Brown <mrbrown@0xd6.org> to fix pthread supportEric Andersen2002-03-013-1/+139
| | | | for SH, and fix vfork
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-01568-57384/+3065
| | | | | and to better support each arch. This is a really big patch... -Erik
* A few more little cleanupsEric Andersen2002-02-262-3/+3
|
* Don't redefine stuffEric Andersen2002-02-264-10/+31
|
* Be consistant and use an unsigned char * throughoutEric Andersen2002-02-261-2/+3
|
* don't pretend to be reentrant yetEric Andersen2002-02-261-0/+6
|
* Fix redefine problemEric Andersen2002-02-261-2/+5
|
* Fix redefinition problemEric Andersen2002-02-264-12/+40
|
* Give the label a ; so compilers have no excuse to whineEric Andersen2002-02-261-1/+3
|
* Patch from Miles Bader to restrict common truncate64/ftruncate64Eric Andersen2002-02-261-17/+34
| | | | | syscalls to 64-bit systems, since we can't be sure that the _syscall macros can cope with 64 bit args on 32 bit arches.
* Proper support for setting h_errnoEric Andersen2002-02-263-2/+17
|
* Fix rpc + threads so it now compiles.Eric Andersen2002-02-261-21/+60
|
* Thomas Fritzsche noticed that __open_etc_hosts was only changing aEric Andersen2002-02-261-6/+6
| | | | | | local copy of the FILE pointer, thereby causing /etc/hosts lookups to fail with Resolver errors. This patch from Thomas fixes the problem.
* Enable pread/pwriteEric Andersen2002-02-261-8/+0
|
* I shouldn't try to program when sleepy, since I totally botchedEric Andersen2002-02-251-4/+4
| | | | | the fcntl interface... -Erik
* When messing with fd NONBLOCK status, put things back the way we foundEric Andersen2002-02-251-1/+4
| | | | | | them afterwards. As was, this hosed things up for fds shared with a parent process. Very bad for shells... Oops. -Erik
* Try this version instead...Eric Andersen2002-02-251-4/+7
|
* Support isblank()Eric Andersen2002-02-233-3/+21
|
* IEEE Std 1003.1-2001 says that the "fclose() function shall fail [with]Eric Andersen2002-02-231-7/+1
| | | | | | | | EINTR [when] the fclose() function was interrupted by a signal". But looking in the current uClibc stdio.c for some bizarre reason we had a special case where when errno was EINTR, we would keep on trying instead. Doh! Fix that, -Erik
* Several naming cleanups so threads work properly againEric Andersen2002-02-233-79/+51
|
* Per discussion with Manuel, when we call __stdio_flush_buffersEric Andersen2002-02-231-1/+9
| | | | | | from abort() and from _exit(), we need to ensure that flushing will not cause us to block. So use fcntl to set the fd's to non-block mode...