summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2001-11-20Oops. Lets try that again.Eric Andersen
2001-11-20A few symbols needed for testingEric Andersen
2001-11-20Fix up pathconf and friend so that test suits can workEric Andersen
2001-11-20Can't use CLK_TCK in here since /usr/include/bits/time.h nowEric Andersen
defines that as __sysconf(_SC_CLK_TCK) causing infinite recursion. -Erik
2001-11-19Add an initial clone from glibc. Needs fixing.Eric Andersen
2001-11-15Silly me. I left in a define which caused statfs64 toEric Andersen
recursively call itself.
2001-11-15Fix comments. Attempt at c++ global constructor support.Eric Andersen
2001-11-15This is a .c fileEric Andersen
2001-11-14Oops. Forgot theseEric Andersen
2001-11-14Scrub up some lingering problems preventing readdir64 from workingEric Andersen
and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
2001-11-14Sync up sparc headersEric Andersen
2001-11-14Make it obvious that dtype is disabledEric Andersen
2001-11-14Turn off dtypeEric Andersen
2001-11-14Sync up mipsel headersEric Andersen
2001-11-14Sync up m68k headersEric Andersen
2001-11-14Initial first (lame) pass at making a pthreads library. ThisEric Andersen
works for me when linking staticly on x86.
2001-11-14Fix the clone syscall so it actually works.Eric Andersen
2001-11-12Notes about how powerpc/bits was constructed.David Schleef
2001-11-10Added winsize structure from before glibc-2.2.4 updateDavid Schleef
2001-11-10_mmap.o should be added to libc.a, not crt0.oDavid Schleef
2001-11-10Add missing <errno.h>David Schleef
2001-11-07Patch from Jari Korva <jpkorva@iki.fi>Eric Andersen
I found some support in uClibc for IPv6 but I needed some more... Enclosed is the patch containing following modifications: - getnameinfo port from lates glibc - IPv6 support for gethostbyaddr() - IPv6 support for get_hosts_byname and read_etc_hosts (among other things this fixed a bug in gethostbyname2 in a case when user asked for an IPv6 but got a v4 address if it was present in /etc/hosts) - defined ip6addr_any and in6addr_loopback (though the place where I defined these isn't correct, I guess) What is still missing: - getaddrinfo (this could be ported also from glibc but it won't be as easy as porting getnameinfo, I guess) I have tested the patch using enclosed test program and boa web server. Seems to work ;)
2001-11-07Add statfs64Eric Andersen
2001-11-05Patch from Jari Korva <jari.korva@vtt.fi> to fix a memory leakEric Andersen
in dns_lookup.
2001-11-05Disable fast search by default (doesn't work on coda for example)Eric Andersen
2001-10-17Oops. Forgot this one....Eric Andersen
2001-10-17These are now obsoleteEric Andersen
2001-10-17Fix up sig handling so it is more in sync with glibc behaviorEric Andersen
2001-10-17Bring these into line with glibc 2.2.4Eric Andersen
2001-10-17This header file was broken, breaking signal handling on ARM.Eric Andersen
This update fixes it... -Erik
2001-10-17In theory, this adds readdir64 and friends. Dunno if theyEric Andersen
work yet or not.... -Erik
2001-10-17This commit makes large file support actually work (when enabled inEric Andersen
the config file). I've tested this and it works for me. -Erik
2001-10-16Fix commentEric Andersen
2001-10-16Geez, I really screwed that one up. Lets try that one again...Eric Andersen
Revert mmap to where it was in rev 1.41 of this file, -Erik
2001-10-16Oops. I merged things backwards. Lets try that again...Eric Andersen
2001-10-16Revert global old mmap usage, and do it per archEric Andersen
2001-10-15Disable posix threads supportDavid Schleef
2001-10-15Merged patch from pre-glibc-2.2.4 filesDavid Schleef
2001-10-15include/bits from glibc-2.2.4-1David Schleef
2001-10-14Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE isEric Andersen
supposed to be a number
2001-10-12A small patch from Erwin Authried <eauth@softsys.co.at>Eric Andersen
*) changed ARM crt0.S / crt0pic.S selection -- depends on DOPIC now. *) Minor tweek to syscall definitions
2001-10-11Add strndup, written by Stefan Soucek <ssoucek@coactive.com>Eric Andersen
2001-10-11Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.Eric Andersen
He sent this patch to me a month ago, but I forgot to apply it...
2001-10-05Wohoo! David McCullough found the bug! His comments follow:Eric Andersen
I had a look at it and you won't believe it was always broken. I'll try and explain it, let me know if it doesn't make sense. * ash calls setjmp, which messes with the stack to look like it has two args instead of one and then jmps (actually falls) into sigsetjmp. BUG * sigsetjmp then saves the registers and "jumps" to __sigset_save, a C function. BUG1 - because the caller pops its args off the stack, a program that changes it's number of args is broken because the caller will not pop the correct number of args. I think that jumping from the sigsetjmp asm to the 'C' code is unsafe but I can't think of an example. Anyway, I have attached what I think is a working fix. The reason this worked without -fomit-frame-pointer is that the _sigset_save 'C' code would restore the stack pointer from %ebp (the frame pointer) and because none of the asm had moded it, when we returned from __sigset_save the stack was back to it's correct position for 1 argument despite our best attempts to stuff it up ;-)
2001-10-04Yet more minor cleanupsEric Andersen
2001-10-04Patch from David McCullough <davidm@lineo.com>:Eric Andersen
* reduce the sigset types to 32 bits (I've mentioned this before) I think I saw this change go in for another platform anyway ;-) * Do not use _IO_FILE as it clashes with the C++ libraries which know too much about how glibc workds :-( * Do not use _G_va_list for the same reason. * remove the CTORS/DTORS from crt0.S for ARM as the compiler provided crtbegin.o and crtend.o have these (and only these) already in them and you get multiple defined errs :-(
2001-10-04With all the headerfile changes, some functions didn't get there arg typesDavid McCullough
fixed up.
2001-10-03Minor cleanupsEric Andersen
2001-10-03Silly little changesEric Andersen
2001-10-03Cleanup brk/sbrkEric Andersen