summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixup the pipe system call for the SH target.David McCullough2001-08-063-1/+36
| | | | The FD's are returned in registers.
* Oops... left in a debugging line.Manuel Novoa III2001-07-281-1/+0
|
* Back out the changes to _uClibc_fread and loop in fread() if incomplete, toManuel Novoa III2001-07-281-22/+21
| | | | | | | | | | avoid problems with fgets on tty streams. I actually did some testing this time. ;-) Note: there is a difference in behavior between glibc and uClibc here regarding fread() on a tty stream. glibc's fread() seems to return after reading all _available_ data even if not at end-of-file, while uClibc's fread() continues reading until all requested or eof or error. The latter behavior seems correct w.r.t. the standards.
* Yes... the previous "fix" was broken too... the result of careless cuttingManuel Novoa III2001-07-261-1/+1
| | | | and pasting while pressed for time. I haven't checked this one either. :-(
* Ok... the fix wasn't quite so straightforward. Hopefully this will do it.Manuel Novoa III2001-07-251-0/+3
|
* Fix fread bug reported by Vodz. The fix is straightforward, but I haven'tManuel Novoa III2001-07-251-11/+13
| | | | tested it (lack of time).
* use ln -fsEric Andersen2001-07-161-1/+1
|
* PowerPC has a different kernel interface for termios. Grrr...David Schleef2001-07-131-0/+22
|
* The previous termios.h strongly appeared to be from a differentDavid Schleef2001-07-131-131/+199
| | | | architecture.
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-1139-2/+133
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* Fixup the atexit weak alias for elf, need to include <features.h> toDavid McCullough2001-07-111-1/+5
| | | | get the correct value for the HAVE_ELF define.
* A patch from Michal Moskal <malekith@pld.org.pl> to includeEric Andersen2001-07-093-2/+152
| | | | | partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
* Workaround an old m68k-coff compiler problemEric Andersen2001-07-091-0/+2
|
* Fix strxfrm, which was broken (thanks to Shaya Potter <spotter@us.ibm.com>Eric Andersen2001-07-061-2/+4
| | | | | for noticing, and cleanup a warning. -Erik
* Added stpcpy and strcasestr along with some code to test them.David McCullough2001-07-043-11/+51
|
* remove bits/syscall.h when cleaningDavid Schleef2001-07-031-0/+1
|
* Autogen include/bits/syscall.h for ARMEric Andersen2001-07-033-197/+2
| | | | -Erik
* Get rid of warning messages and spurious diffsDavid Schleef2001-07-031-0/+1
|
* Need to include sys/syscall.h because of other changesDavid Schleef2001-07-031-0/+1
|
* It is now autogeneratedDavid Schleef2001-07-031-196/+0
|
* Fix to autogen bits/syscall.h, like i386David Schleef2001-07-031-1/+2
|
* These zero-length files apparently weren't deleted from cvs.Manuel Novoa III2001-07-012-0/+0
|
* Add syscalls.h for ARMEric Andersen2001-06-301-0/+119
|
* Changes for new auto-generated syscall.hDavid McCullough2001-06-283-199/+4
|
* Changes to support autogenerated syscall.hDavid McCullough2001-06-283-227/+2
|
* sysdep.h was not providing all the needed bits to build working asm withDavid McCullough2001-06-283-35/+12
| | | | | | | | | | some compilers, so define any macros we need that are not defined already. Needed to include uClibc_config.h to get some defines. New syscall header files for _mmap vfork.c is not used so ditch it.
* Added a script to create bits/syscall.h for each arch.Manuel Novoa III2001-06-288-451/+82
| | | | | | | | | | | NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers" in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile as I had no way of testing it for the other archs. Various arch maintainers, please check and update the corresponding Makefile... or report bugs ;-)... appropriately. You'll also want to "cvs del" syscall.h and add it to a .cvsignore in $(ARCH)/bits. Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.
* the minimum needed for nowDavid McCullough2001-06-271-0/+4
|
* Added this guy, nothing needed here really.David McCullough2001-06-271-0/+8
|
* Remove nonstandard functions.Manuel Novoa III2001-06-272-89/+1
|
* Remove obsolete files tell.c and getdents.cManuel Novoa III2001-06-273-132/+3
|
* Stub out an initial version. Manuel will be writingEric Andersen2001-06-271-0/+229
| | | | some code to autogenerate this stuff...
* Step one in a process to ween ourselves off of using asm/unistd.h.Eric Andersen2001-06-271-1/+79
| | | | | This will break the build for a bit. -Erik
* Make these PIC and _LIBC_REENTRANT compatible.Manuel Novoa III2001-06-272-8/+89
|
* Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III2001-06-276-12/+66
|
* ANSI/ISO specifies that no library function sets errno to 0.Manuel Novoa III2001-06-261-2/+0
|
* Looks like we lost clearing errnoEric Andersen2001-06-261-0/+2
|
* Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III2001-06-255-19/+17
| | | | the straight getdents syscall instead of the wrapper (which leaked memory).
* Add in missing syscalls.h for powerpcEric Andersen2001-06-251-0/+180
|
* Fixed vfork so the child doesn't trash the parents return address.David McCullough2001-06-253-27/+35
|
* This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen2001-06-231-0/+81
| | | | | | all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik
* Patch from Shane Nay, who noticed that these were not properly labelingEric Andersen2001-06-213-3/+6
| | | | functions as such, thereby hosing the shared lib loader.
* This was violating policy and using a kernel header file...Eric Andersen2001-06-191-1/+1
| | | | -Erik
* This commit finishes adding support for the old m68k-coff toolchains byEric Andersen2001-06-182-1/+106
| | | | | | | working around a missing header file in the compiler shipped with the uCsimm and uCdimm. This should make the folk in Toronto happy, since now they can use the latest CVS version of uClibc. -Erik
* Add the in* and out* functions for i386. Note: the sys/io.h header forManuel Novoa III2001-06-171-0/+171
| | | | | | | | | glibc-2.2.2 actually defines static inline versions for i386, but only provides prototypes for externs for the other archs I looked at. Since uClibc shares this header amongst archs, I stashed the inline defs in bits/io_i386.h and included it when __i386__ was defined. Better solutions are most welcome, but it doesn't clutter sys/io.h too badly and now lilo and the pcmcia tools build against uClibc on i386 without modification.
* These are needed for powerpc to compileEric Andersen2001-06-152-0/+73
|
* Make strrchr not call other string functions. HopefullyEric Andersen2001-06-151-8/+7
| | | | speeding it a bit.
* I am very proud of myself. I managed to write a working _start forEric Andersen2001-06-152-0/+52
| | | | | x86 entirely in C -- no asm required. muahahahaha! -Erik
* Add in (stub out really) __libc_current_sigrtmin, andEric Andersen2001-06-152-1/+36
| | | | | | __libc_current_sigrtmax so current versions of ash will compile. -Erik
* Fix a really stupid bug with ttyname, thanks to a patch fromEric Andersen2001-06-131-1/+1
| | | | Stefan Soucek <ssoucek@coactive.com>