summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* strtok_r.c was not being compiled in, so fix that.Eric Andersen2001-03-031-3/+3
|
* Stupid buglet fix. Don't trash FILE bufstart if buffer allocation fails.Manuel Novoa III2001-03-011-11/+4
|
* Added __strtok_r function. Change strtok to a wrapper around __strtok_r andManuel Novoa III2001-03-012-58/+58
| | | | | add a weak alias of __strtok_r for strtok_r since optional. Also reduced code size.
* Fix a buglet regarding floating point output for ?nprintf functions.Manuel Novoa III2001-02-281-1/+2
|
* stdio mostly rewritten... passes lots of tests now.Manuel Novoa III2001-02-275-474/+553
| | | | printf now supports long double, plus some bug fixes.
* For some reason the fancy attribute tags were not working on m68k soDavid McCullough2001-02-271-8/+4
| | | | | | | I followed environ example which uses asm and it seemed to fix the problem nicely. It should be ok on i386. Could some check it please :-)
* New crt0.S with all init done in 'C' code.David McCullough2001-02-261-30/+33
| | | | Added in support for C++ contructor/destructor tables.
* Reduced the size of sigsets to the minimal needed. Apart from the size,David McCullough2001-02-262-66/+12
| | | | | it has the added advantage of giving the C++ build of m68k-elf-gcc a clean bill of health.
* Added /etc/hosts processing (parses everytime like a real one :-)David McCullough2001-02-262-33/+233
| | | | | | | | | | | | Added support for multiple nameserver lines, still supports multiple servers on a on single line. Added "domain" entry. domain and search are mutually exclusive and override each other (the last one wins, see the resolver(5) man page). Added dummy "getnetbyname" that returns fail. Added "res_init" and "res_query".
* Added "psignal" functionDavid McCullough2001-02-262-4/+24
|
* Update arm for the new way of entering main. BTW, I can now run things on armEric Andersen2001-02-232-101/+54
| | | | | | | as a shared library, using the glibc shared lib loader. :-) I've updated the pic case but havn't tested it yet. -Erik
* Sigh. Turn debugging back off.Eric Andersen2001-02-231-1/+1
|
* This is a touch cleaner, avoids using the comma operator.Eric Andersen2001-02-231-2/+3
|
* This actually fixes things I believe.Eric Andersen2001-02-231-21/+21
|
* Let system dependant things override common things.Eric Andersen2001-02-231-1/+1
|
* Fix two bugs. First, gethostbyname was doing dns queries when given an IPEric Andersen2001-02-231-3/+16
| | | | | | address. Secondly, when doing reverse dns lookups, it was appending the domain, even if a domain was already attached. -Erik
* div and ldiv are required for ISO 9899Eric Andersen2001-02-223-1/+67
| | | | -Erik
* Patch from Jean-Yves Avenard to add missing siglongjmp entry andEric Andersen2001-02-225-5/+92
| | | | fix a bug in setjmp for SH
* Update to "malloc" so it will work on CPUs not supporting non-aligned words.Eric Andersen2001-02-211-7/+35
| | | | malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard
* Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen2001-02-2177-0/+8369
| | | | | and Personal Systems. Thanks! -Erik
* Fix a couple of bugs in _fopen and fclose, plus change a few internals.Manuel Novoa III2001-02-192-60/+83
|
* Have isatty call ioctl directly rather than tcgetattr; especially since anyManuel Novoa III2001-02-191-2/+9
| | | | program using stdio will call isatty during initialization.
* Make sure errno is 0 before we call main (may have been set while initializing).Manuel Novoa III2001-02-191-0/+10
|
* Remove redundant old isatty.c since newer termios supplies one.Manuel Novoa III2001-02-191-1/+1
|
* Lots of stdio cleanups. Several bug fixes, addition of a number of functionsManuel Novoa III2001-02-194-275/+384
| | | | | to supplement macros in stdio.h, change perror to use stdio package instead of "write". Also add back in weak stdio initialization for static lib case.
* Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III2001-02-195-50/+114
| | | | | | | respective crt0.S. crt0.S should now only be responsible for setting things up to call __uClibc_main(argc, argv, envp), which will do any other necessary setup (setting global __environ, stdio init, etc), call main, and exit. This should ease both maintainance and porting.
* Revert to standard handling of _exit syscall in unified syscall case on i386.Manuel Novoa III2001-02-191-0/+6
|
* Fix problems with test wrapper and test compiler selection.Manuel Novoa III2001-02-191-3/+4
|
* Fix LIBC rule. (cut-and-paste user bug...)Manuel Novoa III2001-02-151-2/+2
|
* Add bdflush.Manuel Novoa III2001-02-151-0/+5
|
* Add vdprintf function. Note: will be rewritten to check if file descriptor ↵Manuel Novoa III2001-02-152-1/+12
| | | | has an associated FILE to avoid bad interactions with buffered output, but needed for busybox right now and that implementation has the same bug.
* Fix stdin/stdout/stderr for now.Manuel Novoa III2001-02-151-0/+4
|
* Add tsearch functions from libc-5.3.12.Manuel Novoa III2001-02-153-1/+234
|
* Use MAP_FAILED.Eric Andersen2001-02-131-1/+1
|
* Clean up lots of warnings.Manuel Novoa III2001-02-1228-70/+109
|
* Use __environ instead of the GNU extension environ.Eric Andersen2001-02-097-30/+17
| | | | -Erik
* Remove now irrelevant comment.Eric Andersen2001-02-091-3/+0
|
* Add #define to handle new ptrace support.Manuel Novoa III2001-02-091-0/+1
|
* Add missing ffs, used by rpc crap.Eric Andersen2001-02-092-1/+34
| | | | -Erik
* Silence warnings -- add func declaration.Eric Andersen2001-02-091-0/+1
| | | | -Erik
* Implement getdtablesize(), which is used by the rpc crap.Eric Andersen2001-02-093-5/+41
| | | | -Erik
* Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen2001-02-095-76/+77
| | | | | | | we don't blow up by using too much stack space, and simplifies the job of supporting new architectures, since they don't have to mess with calling foo init functions in crt0 and cleaning up the resulting damage. -Erik
* Remove times and all the foolishness surrounding it. There isEric Andersen2001-02-091-1/+1
| | | | | a syscall that does this, so use that. -Erik
* Doh! I forgot a #ifdef such that ptrace ended up in each and everyEric Andersen2001-02-091-0/+2
| | | | | syscall .o file. -Erik
* It turns out that vfork was completely broken. That was why itEric Andersen2001-02-092-2/+75
| | | | | | | | wouldn't run on my little arm7tdmi/uClinux boards, since without vfork working, nothing works on uClinux. It took me forever to find this, since other problems were hiding this one. Big, huge, sigh of relief. -Erik
* Include ptrace support so debugging will hopefully work.Eric Andersen2001-02-091-0/+5
| | | | -Erik
* Fix the ordering of the args to the compare function.Manuel Novoa III2001-02-081-3/+3
|
* _void_void_null_func never returned. I noticed this yesterdayEric Andersen2001-02-072-2/+2
| | | | | | in crt0.S and Michiel Thuys <michiel.thuys@intersil.com> noticed the same thing in crt0pic.S. -Erik
* Wierd. Whats _null_auth doing here?Eric Andersen2001-02-051-2/+0
| | | | -Erik
* Fix broken dependancies.Eric Andersen2001-02-051-4/+7
| | | | -Erik