summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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
* Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.Eric Andersen2001-10-1175-2/+7930
| | | | 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-042-7/+14
|
* 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 :-(
* Silly little changesEric Andersen2001-10-033-5/+9
|
* Cleanup brk/sbrkEric Andersen2001-10-034-83/+77
|
* 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
|
* 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-27128-1740/+2832
|
* 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
|
* Add cmsg_nxthdr function for the cases where the headersDavid McCullough2001-08-092-1/+41
| | | | do not so it inline.
* Added sigset_t casts so we behave like the other platforms.David McCullough2001-08-091-6/+6
|
* Fixup the pipe system call for the SH target.David McCullough2001-08-063-1/+36
| | | | The FD's are returned in registers.
* use ln -fsEric Andersen2001-07-161-1/+1
|
* The previous termios.h strongly appeared to be from a differentDavid Schleef2001-07-131-131/+199
| | | | architecture.
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-1139-2/+133
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* Fixup the atexit weak alias for elf, need to include <features.h> toDavid McCullough2001-07-111-1/+5
| | | | get the correct value for the HAVE_ELF define.
* Workaround an old m68k-coff compiler problemEric Andersen2001-07-091-0/+2
|
* remove bits/syscall.h when cleaningDavid Schleef2001-07-031-0/+1
|
* Autogen include/bits/syscall.h for ARMEric Andersen2001-07-033-197/+2
| | | | -Erik
* Get rid of warning messages and spurious diffsDavid Schleef2001-07-031-0/+1
|
* Need to include sys/syscall.h because of other changesDavid Schleef2001-07-031-0/+1
|
* It is now autogeneratedDavid Schleef2001-07-031-196/+0
|
* Fix to autogen bits/syscall.h, like i386David Schleef2001-07-031-1/+2
|
* Add syscalls.h for ARMEric Andersen2001-06-301-0/+119
|
* Changes for new auto-generated syscall.hDavid McCullough2001-06-283-199/+4
|
* Changes to support autogenerated syscall.hDavid McCullough2001-06-283-227/+2
|
* sysdep.h was not providing all the needed bits to build working asm withDavid McCullough2001-06-283-35/+12
| | | | | | | | | | 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.
* Added a script to create bits/syscall.h for each arch.Manuel Novoa III2001-06-288-451/+82
| | | | | | | | | | | 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.
* the minimum needed for nowDavid McCullough2001-06-271-0/+4
|
* Added this guy, nothing needed here really.David McCullough2001-06-271-0/+8
|
* Remove obsolete files tell.c and getdents.cManuel Novoa III2001-06-273-132/+3
|
* Stub out an initial version. Manuel will be writingEric Andersen2001-06-271-0/+229
| | | | some code to autogenerate this stuff...
* Step one in a process to ween ourselves off of using asm/unistd.h.Eric Andersen2001-06-271-1/+79
| | | | | This will break the build for a bit. -Erik
* Make these PIC and _LIBC_REENTRANT compatible.Manuel Novoa III2001-06-272-8/+89
|
* Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III2001-06-276-12/+66
|
* Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III2001-06-254-8/+16
| | | | the straight getdents syscall instead of the wrapper (which leaked memory).
* Add in missing syscalls.h for powerpcEric Andersen2001-06-251-0/+180
|
* Fixed vfork so the child doesn't trash the parents return address.David McCullough2001-06-253-27/+35
|
* This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen2001-06-231-0/+81
| | | | | | all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik