This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/933] MIPS (n)64 syscall() implemented incorrectly


------- Additional Comments From macro at linux-mips dot org  2005-05-06 15:18 -------
 I've found other two places where an incorrect sequence is used for
syscalls and prepared a fix as follows.  Additionally it fixes an incorrect
GP restoration directive as well as an inaccurate comment.

2005-05-06  Maciej W. Rozycki  <macro@linux-mips.org>

        * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of the
        syscall immediately before invocation.
        * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
        * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.

        * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use macros
        to handle GP.
        * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.
        Update inaccurate comments.

 Please apply.  It works for the mainline as well.

-- 


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]