summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
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
2001-09-30Fix nasty behavior difference from glibc -- also fixes getline()Eric Andersen
-Erik
2001-09-29Minor cleanupEric Andersen
2001-09-29Fix prototypeEric Andersen
2001-09-29Add in gcvt()Eric Andersen
2001-09-27Sigh. Erik mucks it up again...Eric Andersen
2001-09-27Make iopl and ioperm workEric Andersen
2001-09-27Duh.Eric Andersen
2001-09-27Add inb, outb and friends,Eric Andersen
2001-09-27Silence a silly warningEric Andersen
2001-09-27Silence stupid warnings caused by bad kernel network includesEric Andersen
2001-09-27Gut this file, and quit referrng to _IO_* junkEric Andersen
2001-09-27Finish syncing up armEric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-09-25Fix fseek behavior.Manuel Novoa III
2001-09-15OopsEric Andersen
2001-09-15Recurse into 'file'Eric Andersen
2001-09-15Add lockfEric Andersen
2001-09-06Patch from Andrew Ip <aip@cwlinux.com> to add ftime,Eric Andersen
allowing openssl to be built.
2001-08-30"Kim B. Heino" <Kim.Heino@bluegiga.com> reportsEric Andersen
In the libc/stdlib/bsd_getpt.c file you have line: memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1); It really should be: memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) ); The last nul character must be copied too because the next line uses strlen() to get buf's length.
2001-08-28Fix goofy formattingEric Andersen
2001-08-28This will hopefully make global constructors and destructors workEric Andersen
2001-08-28Add "__write" as a weak alias for "write"Eric Andersen
2001-08-24Use "stdin", "stdout", and "stderr", not "_stdin", "_stdout", andEric Andersen
"_stderr", since this is what gcc and libgcc expect... -Erik
2001-08-24Add the __fopen prototype, since I pulled it from stdio.hEric Andersen
2001-08-24atoi, atol, atoll, and atof are supposed to be functions, not macros.Eric Andersen
-Erik
2001-08-17Fix a silly bug with the header fileEric Andersen
2001-08-14use some #defines internal to the ctype functions to eliminate themEric Andersen
calling other tiny ctype functions. Now all ctype funcs will end up with no extern references, which ends up shrinking both the uClibc shared lib and shrinking client code. -Erik