* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
with a single instruction.
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
.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