summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/syscall.S
Commit message (Collapse)AuthorAgeFilesLines
* - fix mips syscall (Atsushi Nemoto)Bernhard Reutner-Fischer2008-10-241-2/+1
|
* Atsushi Nemoto writes:Mike Frysinger2007-09-151-1/+5
| | | | | | | In MIPS syscall(2), .cpload was added to an the error path, but it was not enough for ABIs other then O32. Use SETUP_GP, SETUP_GP64 and RESTORE_GP64 to handle all ABIs. This patch fixes an error path of MIPS pipe(2) too.
* Fix broken syscall() function since the original patch did not work."Steven J. Hill"2007-07-121-2/+4
|
* Fix MIPS syscall() and pipe functions to set errno correctly as reported by ↵"Steven J. Hill"2007-05-241-0/+10
| | | | Daniel Jacobowitz on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017968.html> .
* Atsushi Nemoto writes:Eric Andersen2006-09-111-2/+2
| | | | | | | The "make headers_install" in kernel 2.6.18 does not export asm-mips/asm.h, asm-mips/regdef.h and asm-mips/sysmips.h. Do not use them. We can use sys/asm.h and sys/regdef.h instead. The sysmips.h part of this patch is came from glibc 2.4 code.
* Atsushi Nemoto writes:Eric Andersen2004-10-261-15/+25
| | | | | | | | | | | | | | | | | | | | | >>>>> On Tue, 19 Oct 2004 13:28:34 -0600, Erik Andersen <andersen@codepoet.org> said: >> BTW, top of uClibc TODO list is "Fix syscall() on mips". What is a >> problem? andersen> It appears that uClibc's syscall() for mips works ok for andersen> syscalls with a few arguments. But as I recall, it does not andersen> work properly with _syscall5, _syscall6, _syscall7, etc. andersen> Perhaps there is some mistake in its assumptions about the andersen> mips/linux ABI regarding which syscall arguments are passed andersen> via register vs which syscall arguments are passed on the andersen> stack. Hmm... I found a old fix in uClibc ML archive. http://www.uclibc.org/lists/uclibc/2002-September/004459.html But it seems somewhat broken. How about this fix instead? I tested mmap with syscall() in mips. mips64 is not tested.
* In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen2003-05-301-1/+1
| | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
* 'syscall' now properly works for MIPS."Steven J. Hill"2002-09-041-0/+55