summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert global old mmap usage, and do it per archEric Andersen2001-10-163-3/+24
|
* Disable posix threads supportDavid Schleef2001-10-151-2/+4
|
* Merged patch from pre-glibc-2.2.4 filesDavid Schleef2001-10-1510-48/+62
|
* include/bits from glibc-2.2.4-1David Schleef2001-10-1569-722/+4256
|
* Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE isEric Andersen2001-10-141-1/+2
| | | | supposed to be a number
* A small patch from Erwin Authried <eauth@softsys.co.at>Eric Andersen2001-10-122-3/+4
| | | | | *) changed ARM crt0.S / crt0pic.S selection -- depends on DOPIC now. *) Minor tweek to syscall definitions
* Add strndup, written by Stefan Soucek <ssoucek@coactive.com>Eric Andersen2001-10-112-2/+20
|
* Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.Eric Andersen2001-10-1177-8/+7937
| | | | He sent this patch to me a month ago, but I forgot to apply it...
* Wohoo! David McCullough found the bug! His comments follow:Eric Andersen2001-10-051-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ;-)
* Yet more minor cleanupsEric Andersen2001-10-043-9/+16
|
* Patch from David McCullough <davidm@lineo.com>:Eric Andersen2001-10-043-135/+22
| | | | | | | | | | | | | | * 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 :-(
* With all the headerfile changes, some functions didn't get there arg typesDavid McCullough2001-10-042-2/+2
| | | | fixed up.
* Minor cleanupsEric Andersen2001-10-033-0/+3
|
* Silly little changesEric Andersen2001-10-033-5/+9
|
* Cleanup brk/sbrkEric Andersen2001-10-034-83/+77
|
* Fix nasty behavior difference from glibc -- also fixes getline()Eric Andersen2001-09-301-3/+2
| | | | -Erik
* Minor cleanupEric Andersen2001-09-292-2/+3
|
* Fix prototypeEric Andersen2001-09-291-2/+2
|
* Add in gcvt()Eric Andersen2001-09-292-1/+12
|
* Sigh. Erik mucks it up again...Eric Andersen2001-09-272-43/+1
|
* Make iopl and ioperm workEric Andersen2001-09-271-37/+22
|
* Duh.Eric Andersen2001-09-271-5/+2
|
* Add inb, outb and friends,Eric Andersen2001-09-272-1/+148
|
* Silence a silly warningEric Andersen2001-09-271-0/+2
|
* Silence stupid warnings caused by bad kernel network includesEric Andersen2001-09-274-0/+8
|
* Gut this file, and quit referrng to _IO_* junkEric Andersen2001-09-272-292/+2
|
* Finish syncing up armEric Andersen2001-09-2723-0/+3315
|
* Update to accomodate the header file changesEric Andersen2001-09-27176-1783/+2971
|
* Fix fseek behavior.Manuel Novoa III2001-09-251-2/+3
|
* OopsEric Andersen2001-09-151-1/+1
|
* Recurse into 'file'Eric Andersen2001-09-151-2/+2
|
* Add lockfEric Andersen2001-09-152-0/+113
|
* Patch from Andrew Ip <aip@cwlinux.com> to add ftime,Eric Andersen2001-09-062-1/+37
| | | | allowing openssl to be built.
* "Kim B. Heino" <Kim.Heino@bluegiga.com> reportsEric Andersen2001-08-301-1/+1
| | | | | | | | | | | | | 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.
* Fix goofy formattingEric Andersen2001-08-282-4/+4
|
* This will hopefully make global constructors and destructors workEric Andersen2001-08-285-1/+62
|
* Add "__write" as a weak alias for "write"Eric Andersen2001-08-281-0/+1
|
* Use "stdin", "stdout", and "stderr", not "_stdin", "_stdout", andEric Andersen2001-08-241-10/+10
| | | | | "_stderr", since this is what gcc and libgcc expect... -Erik
* Add the __fopen prototype, since I pulled it from stdio.hEric Andersen2001-08-241-0/+4
|
* atoi, atol, atoll, and atof are supposed to be functions, not macros.Eric Andersen2001-08-244-3/+35
| | | | -Erik
* Fix a silly bug with the header fileEric Andersen2001-08-171-1/+1
|
* use some #defines internal to the ctype functions to eliminate themEric Andersen2001-08-141-0/+32
| | | | | | | 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
* I just wrote a stpncpy() since someone wanted itEric Andersen2001-08-112-1/+18
|
* I rewrote strcat without any function calls.Eric Andersen2001-08-111-1/+9
|
* Add cmsg_nxthdr function for the cases where the headersDavid McCullough2001-08-092-1/+41
| | | | do not so it inline.
* Add in changes from philipc@lineo:David McCullough2001-08-091-12/+15
| | | | | | | | | | | | | | | Fix three bugs and bring into line with glibc: 1. The first character read using getc() was being ignored if it was EOF. Normally this is okay because the next getc() returns EOF as well, but for sscanf, this was causing us to skip the null terminator and start scanning whatever happened to be next in memory. 2. %s, %c, and %[ formats now return -1 if EOF is reached before any characters are read, instead of 0. This was causing an infinite loop in diald. 3. Default to base 10 for %i fields if not prefix modifier present.
* Added sigset_t casts so we behave like the other platforms.David McCullough2001-08-091-6/+6
|
* Fix a couple of warningsDavid McCullough2001-08-091-2/+2
|
* Make sure the weak aliases are defined before the functions/varsDavid McCullough2001-08-091-14/+14
| | | | | they use as stubs, otherwise, some compilers (ie., m68k-elf) tie them to the local symbols and the weak aliases do not work.
* This syncs things up with my local tree. Mainly changes installerEric Andersen2001-08-081-4/+1
| | | | | | issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging...