summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2001-07-11Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
2001-07-11Fixup the atexit weak alias for elf, need to include <features.h> toDavid McCullough
get the correct value for the HAVE_ELF define.
2001-07-09A patch from Michal Moskal <malekith@pld.org.pl> to includeEric Andersen
partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
2001-07-09Workaround an old m68k-coff compiler problemEric Andersen
2001-07-06Fix strxfrm, which was broken (thanks to Shaya Potter <spotter@us.ibm.com>Eric Andersen
for noticing, and cleanup a warning. -Erik
2001-07-04Added stpcpy and strcasestr along with some code to test them.David McCullough
2001-07-03remove bits/syscall.h when cleaningDavid Schleef
2001-07-03Autogen include/bits/syscall.h for ARMEric Andersen
-Erik
2001-07-03Get rid of warning messages and spurious diffsDavid Schleef
2001-07-03Need to include sys/syscall.h because of other changesDavid Schleef
2001-07-03It is now autogeneratedDavid Schleef
2001-07-03Fix to autogen bits/syscall.h, like i386David Schleef
2001-07-01These zero-length files apparently weren't deleted from cvs.Manuel Novoa III
2001-06-30Add syscalls.h for ARMEric Andersen
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