summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Move fork to common/syscalls (with NO_MMU check). Add Makefile to sparc soManuel Novoa III2001-03-067-41/+67
| | | | make clean works.
* Fix unified syscall stuff for changed ?stat. Move fork to syscalls.c wrappedManuel Novoa III2001-03-063-27/+10
| | | | with a check for NO_MMU of course.
* I just grabbed the bits dir from glibc 2.1.3 on a sparc boxEric Andersen2001-03-0667-0/+7861
| | | | | to facilitate the sparc porting work being done by Mathew Bosworth. -Erik
* stat and mknod cleanup, take two. Put all the needed junk into syscalls.cEric Andersen2001-03-053-22/+39
| | | | | for clarity. -Erik
* Fix up some long standing iterative symbol usage problem, noticed today byEric Andersen2001-03-051-20/+21
| | | | | | Michael Shmulevich, which was caused by the grafting in of GNU libc header files. -Erik
* Patch from Michael Shmulevich (michaels@jungo.com) -- functions were notManuel Novoa III2001-03-052-4/+7
| | | | declared type function.
* Patch from Jean-Yves Avenard to move the getopt globals to theirEric Andersen2001-03-054-38/+60
| | | | | | own file, since at least on SH, weak variables with initial values (.data stuff) were not working. Moving these to their own file seems to be a good way to handle it.
* Fixed vfork on i386. Reduced size of __uClibc_syscall.Manuel Novoa III2001-03-043-23/+38
|
* Fix a couple of bugs: check mode is legal; open file and check success beforeManuel Novoa III2001-03-031-25/+45
| | | | calling vfork.
* 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