summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2001-03-01Added __strtok_r function. Change strtok to a wrapper around __strtok_r andManuel Novoa III
add a weak alias of __strtok_r for strtok_r since optional. Also reduced code size.
2001-02-28Fix a buglet regarding floating point output for ?nprintf functions.Manuel Novoa III
2001-02-27stdio mostly rewritten... passes lots of tests now.Manuel Novoa III
printf now supports long double, plus some bug fixes.
2001-02-27For some reason the fancy attribute tags were not working on m68k soDavid McCullough
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 :-)
2001-02-26New crt0.S with all init done in 'C' code.David McCullough
Added in support for C++ contructor/destructor tables.
2001-02-26Reduced the size of sigsets to the minimal needed. Apart from the size,David McCullough
it has the added advantage of giving the C++ build of m68k-elf-gcc a clean bill of health.
2001-02-26Added /etc/hosts processing (parses everytime like a real one :-)David McCullough
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".
2001-02-26Added "psignal" functionDavid McCullough
2001-02-23Update arm for the new way of entering main. BTW, I can now run things on armEric Andersen
as a shared library, using the glibc shared lib loader. :-) I've updated the pic case but havn't tested it yet. -Erik
2001-02-23Sigh. Turn debugging back off.Eric Andersen
2001-02-23This is a touch cleaner, avoids using the comma operator.Eric Andersen
2001-02-23This actually fixes things I believe.Eric Andersen
2001-02-23Let system dependant things override common things.Eric Andersen
2001-02-23Fix two bugs. First, gethostbyname was doing dns queries when given an IPEric Andersen
address. Secondly, when doing reverse dns lookups, it was appending the domain, even if a domain was already attached. -Erik
2001-02-22div and ldiv are required for ISO 9899Eric Andersen
-Erik
2001-02-22Patch from Jean-Yves Avenard to add missing siglongjmp entry andEric Andersen
fix a bug in setjmp for SH
2001-02-21Update to "malloc" so it will work on CPUs not supporting non-aligned words.Eric Andersen
malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard
2001-02-21Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen
and Personal Systems. Thanks! -Erik
2001-02-19Fix a couple of bugs in _fopen and fclose, plus change a few internals.Manuel Novoa III
2001-02-19Have isatty call ioctl directly rather than tcgetattr; especially since anyManuel Novoa III
program using stdio will call isatty during initialization.
2001-02-19Make sure errno is 0 before we call main (may have been set while initializing).Manuel Novoa III
2001-02-19Remove redundant old isatty.c since newer termios supplies one.Manuel Novoa III
2001-02-19Lots of stdio cleanups. Several bug fixes, addition of a number of functionsManuel Novoa III
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.
2001-02-19Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III
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.
2001-02-19Revert to standard handling of _exit syscall in unified syscall case on i386.Manuel Novoa III
2001-02-19Fix problems with test wrapper and test compiler selection.Manuel Novoa III
2001-02-15Fix LIBC rule. (cut-and-paste user bug...)Manuel Novoa III
2001-02-15Add bdflush.Manuel Novoa III
2001-02-15Add vdprintf function. Note: will be rewritten to check if file descriptor ↵Manuel Novoa III
has an associated FILE to avoid bad interactions with buffered output, but needed for busybox right now and that implementation has the same bug.
2001-02-15Fix stdin/stdout/stderr for now.Manuel Novoa III
2001-02-15Add tsearch functions from libc-5.3.12.Manuel Novoa III
2001-02-13Use MAP_FAILED.Eric Andersen
2001-02-12Clean up lots of warnings.Manuel Novoa III
2001-02-09Use __environ instead of the GNU extension environ.Eric Andersen
-Erik
2001-02-09Remove now irrelevant comment.Eric Andersen
2001-02-09Add #define to handle new ptrace support.Manuel Novoa III
2001-02-09Add missing ffs, used by rpc crap.Eric Andersen
-Erik
2001-02-09Silence warnings -- add func declaration.Eric Andersen
-Erik
2001-02-09Implement getdtablesize(), which is used by the rpc crap.Eric Andersen
-Erik
2001-02-09Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen
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
2001-02-09Remove times and all the foolishness surrounding it. There isEric Andersen
a syscall that does this, so use that. -Erik
2001-02-09Doh! I forgot a #ifdef such that ptrace ended up in each and everyEric Andersen
syscall .o file. -Erik
2001-02-09It turns out that vfork was completely broken. That was why itEric Andersen
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
2001-02-09Include ptrace support so debugging will hopefully work.Eric Andersen
-Erik
2001-02-08Fix the ordering of the args to the compare function.Manuel Novoa III
2001-02-07_void_void_null_func never returned. I noticed this yesterdayEric Andersen
in crt0.S and Michiel Thuys <michiel.thuys@intersil.com> noticed the same thing in crt0pic.S. -Erik
2001-02-05Wierd. Whats _null_auth doing here?Eric Andersen
-Erik
2001-02-05Fix broken dependancies.Eric Andersen
-Erik
2001-02-05Try enabling rpc support by default now. With a bit of luck it mightEric Andersen
even work... -Erik
2001-02-05Fix the worst of the damage so it actually compiles now (though, strictlyEric Andersen
speaking the entire pile of rpc dung is infect damage). Anyway, hopefully NFS using things may now be able to work... -Erik