summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2001-06-28Changes for new auto-generated syscall.hDavid McCullough
2001-06-28Changes to support autogenerated syscall.hDavid McCullough
2001-06-28sysdep.h was not providing all the needed bits to build working asm withDavid McCullough
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.
2001-06-28Added a script to create bits/syscall.h for each arch.Manuel Novoa III
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.
2001-06-27the minimum needed for nowDavid McCullough
2001-06-27Added this guy, nothing needed here really.David McCullough
2001-06-27Remove nonstandard functions.Manuel Novoa III
2001-06-27Remove obsolete files tell.c and getdents.cManuel Novoa III
2001-06-27Stub out an initial version. Manuel will be writingEric Andersen
some code to autogenerate this stuff...
2001-06-27Step one in a process to ween ourselves off of using asm/unistd.h.Eric Andersen
This will break the build for a bit. -Erik
2001-06-27Make these PIC and _LIBC_REENTRANT compatible.Manuel Novoa III
2001-06-27Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III
2001-06-26ANSI/ISO specifies that no library function sets errno to 0.Manuel Novoa III
2001-06-26Looks like we lost clearing errnoEric Andersen
2001-06-25Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III
the straight getdents syscall instead of the wrapper (which leaked memory).
2001-06-25Add in missing syscalls.h for powerpcEric Andersen
2001-06-25Fixed vfork so the child doesn't trash the parents return address.David McCullough
2001-06-23This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen
all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik
2001-06-21Patch from Shane Nay, who noticed that these were not properly labelingEric Andersen
functions as such, thereby hosing the shared lib loader.
2001-06-19This was violating policy and using a kernel header file...Eric Andersen
-Erik
2001-06-18This commit finishes adding support for the old m68k-coff toolchains byEric Andersen
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
2001-06-17Add the in* and out* functions for i386. Note: the sys/io.h header forManuel Novoa III
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.
2001-06-15These are needed for powerpc to compileEric Andersen
2001-06-15Make strrchr not call other string functions. HopefullyEric Andersen
speeding it a bit.
2001-06-15I am very proud of myself. I managed to write a working _start forEric Andersen
x86 entirely in C -- no asm required. muahahahaha! -Erik
2001-06-15Add in (stub out really) __libc_current_sigrtmin, andEric Andersen
__libc_current_sigrtmax so current versions of ash will compile. -Erik
2001-06-13Fix a really stupid bug with ttyname, thanks to a patch fromEric Andersen
Stefan Soucek <ssoucek@coactive.com>
2001-06-13Fix printf so that %p outputs "(nil)" for (void *) 0, to match glibc behavior.Manuel Novoa III
2001-06-13Fix printf handling of %p to prepend "0x" since output is in hex.Manuel Novoa III
Note: glibc output for (void *)0 is "(nil)" while uClibc output is "0". Does anyone have a preference?
2001-06-12Some sparc updates from Stanley <ngstanley@cwc.nus.edu.sg>Eric Andersen
2001-06-12Make sure these use the local sysdep.h header fileEric Andersen
2001-06-12Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen
define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
2001-06-12Silence a few warnings.Eric Andersen
2001-06-07Commit _uClibc_fread bug fix (with minor edit) posted by Johan Adolfsson ↵Manuel Novoa III
<johan.adolfsson@axis.com>.
2001-06-07The m68k-elf compiler chokes on this code when compiling for PIC asDavid McCullough
compile_regex is one big function (relative function calls further than cpu32 can do). The solution was to re-order the code a little to reduce the size of these relative calls. So the total sum of the changes is: * Move compile_regex to the end of the file * make store_op1 an inline Unfortunately CVS diff doesn't show this and makes it look like the whole file has been severely hacked. It hasn't.
2001-06-02Add locale-enabled strcoll function from vodz, plus supporting tool.Manuel Novoa III
2001-06-01Put the locale stuff back how it was till we can get a proper implementationEric Andersen
that doesn't suck so badly. -Erik
2001-06-01oops.Eric Andersen
2001-06-01decouple this from strchrEric Andersen
2001-05-31Cleanup some stupid warningsEric Andersen
2001-05-29Remove the now obsolete "headers" target. Fix call to ↵Eric Andersen
get-needed-libgcc-objects.sh to we define NM and AR properly.
2001-05-29Sometimes (often) the kernel will return things other then -1.Eric Andersen
Deal with it. -Erik
2001-05-28Make selection of uClibc floating point support in printf, etc. seperateManuel Novoa III
from libm float function support. Also, move all Config files out of the main directory.
2001-05-26Minor fix.Manuel Novoa III
2001-05-26These are needed for arm to compileEric Andersen
2001-05-26Makefile targets to symlink arch-specific headers into include/ (onlyDavid Schleef
used on mipsel.)
2001-05-26Nasty hack to get around inconsistency between dynamic linkerDavid Schleef
entry and kernel entry to crt0.o.
2001-05-26Make powerpc compile. Needs this header...Eric Andersen
2001-05-26Fix regex support to be compatible with 4.2 BSD regex library. This isEric Andersen
the last bit that was needed to get util-linux to compile.
2001-05-26Add in message queue support, based on work from <tapu@371.net>.Eric Andersen
This is required to compile util-linux