public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/933] New: MIPS (n)64 syscall() implemented incorrectly
@ 2005-05-05 19:23 macro at linux-mips dot org
  2005-05-06 15:18 ` [Bug libc/933] " macro at linux-mips dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: macro at linux-mips dot org @ 2005-05-05 19:23 UTC (permalink / raw)
  To: glibc-bugs

Linux assumes it can restart a syscall by resuming userland execution at
the instruction preceding the "syscall" instruction and that code there
will restore the number of the syscall as passed in $v0.  This convention
is not obeyed in sysdeps/unix/sysv/linux/mips/mips64/syscall.S, which does:

move $a6, $a7
syscall

instead.  See bits related to the ERESTARTNOINTR error code in
arch/mips/kernel/signal.c within Linux sources for further reference.

 I'll try to prepare a fix, but if it takes too long, this report will
hopefully incline someone else. ;-)

-- 
           Summary: MIPS (n)64 syscall() implemented incorrectly
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: macro at linux-mips dot org
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: mipsel-unknown-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=933

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-09-16 12:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-05 19:23 [Bug libc/933] New: MIPS (n)64 syscall() implemented incorrectly macro at linux-mips dot org
2005-05-06 15:18 ` [Bug libc/933] " macro at linux-mips dot org
2005-05-06 15:19 ` macro at linux-mips dot org
2005-06-01 14:38 ` gotom at debian dot or dot jp
2005-07-01 16:06 ` macro at linux-mips dot org
2005-09-16 12:21 ` aj at suse dot de
2005-09-16 12:22 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).