* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend with a single instruction.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 20 Mar 2003 07:54:56 +0000 (07:54 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 20 Mar 2003 07:54:56 +0000 (07:54 +0000)
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
with a single instruction.

ChangeLog
sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S

index 8201df0..2d0522d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-03-20  Alexandre Oliva  <aoliva@redhat.com>
 
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
+       with a single instruction.
+
        * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
        properly for n64.
        (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr
index ed3b407..7b14089 100644 (file)
@@ -26,8 +26,7 @@
        .text
 ENTRY (__ioctl)
        li v0, __NR_ioctl
-       dsll a1,a1,32
-       dsra a1,a1,32
+       sll a1,a1,0
        syscall                 /* Do the system call.  */
        bne a3, zero, L(error)
        ret