Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Minor update | Eric Andersen | 2001-10-05 | 1 | -2/+2 | |
| | ||||||
* | Wohoo! David McCullough found the bug! His comments follow: | Eric Andersen | 2001-10-05 | 1 | -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 cleanups | Eric Andersen | 2001-10-04 | 3 | -9/+16 | |
| | ||||||
* | Patch from David McCullough <davidm@lineo.com>: | Eric Andersen | 2001-10-04 | 4 | -150/+38 | |
| | | | | | | | | | | | | | | * 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 types | David McCullough | 2001-10-04 | 2 | -2/+2 | |
| | | | | fixed up. | |||||
* | Minor cleanups | Eric Andersen | 2001-10-03 | 3 | -0/+3 | |
| | ||||||
* | Silly little changes | Eric Andersen | 2001-10-03 | 3 | -5/+9 | |
| | ||||||
* | Cleanup brk/sbrk | Eric Andersen | 2001-10-03 | 4 | -83/+77 | |
| | ||||||
* | termcap.h is supposed to be part of ncurses, and has no place in the C | Eric Andersen | 2001-10-02 | 1 | -75/+0 | |
| | | | | library includes. | |||||
* | Add in some math lib tests | Eric Andersen | 2001-10-02 | 15 | -0/+9839 | |
| | ||||||
* | Turn off optimization when debugging | Eric Andersen | 2001-10-02 | 1 | -4/+4 | |
| | ||||||
* | Fix nasty behavior difference from glibc -- also fixes getline() | Eric Andersen | 2001-09-30 | 1 | -3/+2 | |
| | | | | -Erik | |||||
* | Minor cleanup | Eric Andersen | 2001-09-29 | 2 | -2/+3 | |
| | ||||||
* | Fix prototype | Eric Andersen | 2001-09-29 | 1 | -2/+2 | |
| | ||||||
* | Fix a stupid typo... | Eric Andersen | 2001-09-29 | 1 | -1/+1 | |
| | ||||||
* | Add in gcvt() | Eric Andersen | 2001-09-29 | 2 | -1/+12 | |
| | ||||||
* | Sigh. Erik mucks it up again... | Eric Andersen | 2001-09-27 | 2 | -43/+1 | |
| | ||||||
* | Make iopl and ioperm work | Eric Andersen | 2001-09-27 | 1 | -37/+22 | |
| | ||||||
* | Duh. | Eric Andersen | 2001-09-27 | 1 | -5/+2 | |
| | ||||||
* | Be more careful about not redefining stuf | Eric Andersen | 2001-09-27 | 1 | -0/+2 | |
| | ||||||
* | Add inb, outb and friends, | Eric Andersen | 2001-09-27 | 2 | -1/+148 | |
| | ||||||
* | re-enable ntohl and friends | Eric Andersen | 2001-09-27 | 1 | -0/+1 | |
| | ||||||
* | Silence a silly warning | Eric Andersen | 2001-09-27 | 1 | -0/+2 | |
| | ||||||
* | Silence stupid warnings caused by bad kernel network includes | Eric Andersen | 2001-09-27 | 4 | -0/+8 | |
| | ||||||
* | Gut this file, and quit referrng to _IO_* junk | Eric Andersen | 2001-09-27 | 2 | -292/+2 | |
| | ||||||
* | Optimize for size, and disable expensive inlining | Eric Andersen | 2001-09-27 | 1 | -0/+4 | |
| | ||||||
* | Add in missing file | Eric Andersen | 2001-09-27 | 1 | -0/+183 | |
| | ||||||
* | Scrub up a few test things | Eric Andersen | 2001-09-27 | 2 | -7/+7 | |
| | ||||||
* | Finish syncing up arm | Eric Andersen | 2001-09-27 | 23 | -0/+3315 | |
| | ||||||
* | Update to accomodate the header file changes | Eric Andersen | 2001-09-27 | 176 | -1783/+2971 | |
| | ||||||
* | Rev all the header files to sync things with glibc 2.2.4 | Eric Andersen | 2001-09-27 | 142 | -4321/+8278 | |
| | ||||||
* | Fix fseek behavior. | Manuel Novoa III | 2001-09-25 | 1 | -2/+3 | |
| | ||||||
* | Fix the vfork test so it actually works this time. | Eric Andersen | 2001-09-21 | 1 | -1/+5 | |
| | | | | -Erik | |||||
* | Add in a simple vfork test | Eric Andersen | 2001-09-21 | 3 | -1/+85 | |
| | ||||||
* | Oops | Eric Andersen | 2001-09-15 | 1 | -1/+1 | |
| | ||||||
* | Recurse into 'file' | Eric Andersen | 2001-09-15 | 1 | -2/+2 | |
| | ||||||
* | Add lockf | Eric Andersen | 2001-09-15 | 2 | -0/+113 | |
| | ||||||
* | Patch from John Tyner <jtyner@cs.ucr.edu> to avoid redefined | Eric Andersen | 2001-09-13 | 1 | -2/+2 | |
| | | | | symbols by piping results through uniq | |||||
* | Patch from Andrew Ip <aip@cwlinux.com> to add ftime, | Eric Andersen | 2001-09-06 | 3 | -1/+82 | |
| | | | | allowing openssl to be built. | |||||
* | Preevaluate some stuff so it only gets run once, speeding the compile | Eric Andersen | 2001-08-31 | 1 | -8/+6 | |
| | ||||||
* | "Kim B. Heino" <Kim.Heino@bluegiga.com> reports | Eric Andersen | 2001-08-30 | 1 | -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. | |||||
* | Wrap up some long long stuff in __UCLIBC_HAS_LONG_LONG__ | Eric Andersen | 2001-08-29 | 1 | -1/+3 | |
| | ||||||
* | Minor update | Eric Andersen | 2001-08-29 | 2 | -8/+15 | |
| | ||||||
* | Fix goofy formatting | Eric Andersen | 2001-08-28 | 2 | -4/+4 | |
| | ||||||
* | This will hopefully make global constructors and destructors work | Eric Andersen | 2001-08-28 | 5 | -1/+62 | |
| | ||||||
* | Add "__write" as a weak alias for "write" | Eric Andersen | 2001-08-28 | 1 | -0/+1 | |
| | ||||||
* | elide some debug noise | Eric Andersen | 2001-08-27 | 1 | -1/+0 | |
| | ||||||
* | Make gdb/gcc/binutils happy | Eric Andersen | 2001-08-27 | 1 | -0/+103 | |
| | ||||||
* | Use "stdin", "stdout", and "stderr", not "_stdin", "_stdout", and | Eric Andersen | 2001-08-24 | 2 | -19/+19 | |
| | | | | | "_stderr", since this is what gcc and libgcc expect... -Erik | |||||
* | Add the __fopen prototype, since I pulled it from stdio.h | Eric Andersen | 2001-08-24 | 1 | -0/+4 | |
| |