summaryrefslogtreecommitdiff
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-28This evening I've been investigating why linking with the shared uClibc libraryEric Andersen
was not working when booting busybox as init, even though it workes when run on my desktop system. I made boot floppy with just /dev, a few /etc entries, busybox dynamically linked vs uClibc, and /lib with shared uClibc in it. And just as several people have reported, it didn't work. So I ran 'ldd /bin/true' and it showed 'true' is linked with the shared library loader. But 'ldd ./busybox' showed it was only linked with uClibc. Doh! Of course it couldn't work! This patch fixes the gcc wrapper so when we link with the shared uClibc library, we also always link with the correct shared lib loader. With this patch in place, I have now sucessfully booted busybox linked vs the shared uClibc library. And it works great! -Erik
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-26g++ compatible math defines.David McCullough
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 res_init and res_queryDavid McCullough
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-23Forgot to increment iEric Andersen
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-19I just changed "net" to "inet" to better follow the directoryEric Andersen
structure of libc5 and glibc. Fix the makefile accordingly. Folks will want to 'rm -rf net' to remove the old "net" directory. -Erik
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-15And apparently some things include sys/time.h instead of time.h in uClibc...Manuel Novoa III
2001-02-15I guess we always need timespec...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-15Comment out for now. Not used and was causing an error.Manuel Novoa III
2001-02-15Add missing header file.Manuel Novoa III
2001-02-15Handle definition of struct timespec.Manuel Novoa III
2001-02-15Fix stdin/stdout/stderr (that I broke) and add vdprintf prototype.Manuel Novoa III
2001-02-15Fix broken prototype.Manuel Novoa III
2001-02-15Define __USE_GNU as glibc does.Manuel Novoa III
2001-02-15Hack DYNAMIC_LINKER setting for now.Manuel Novoa III
2001-02-13Use MAP_FAILED.Eric Andersen
2001-02-13Add MAP_FAILED per spec -- patch from Michael Shmulevich <michaels@jungo.com>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