summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/syscall.S
AgeCommit message (Collapse)Author
2008-10-24- fix mips syscall (Atsushi Nemoto)Bernhard Reutner-Fischer
2007-09-15Atsushi Nemoto writes:Mike Frysinger
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.
2007-07-12Fix broken syscall() function since the original patch did not work."Steven J. Hill"
2007-05-24Fix MIPS syscall() and pipe functions to set errno correctly as reported by ↵"Steven J. Hill"
Daniel Jacobowitz on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017968.html> .
2006-09-11Atsushi Nemoto writes:Eric Andersen
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.
2004-10-26Atsushi Nemoto writes:Eric Andersen
>>>>> 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.
2003-05-30In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen
should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
2002-09-04'syscall' now properly works for MIPS."Steven J. Hill"