about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-03-20 07:54:56 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-03-20 07:54:56 +0000
commitbfd49d5558cc88986cc95f70aa5646902ebd8ad4 (patch)
tree660479d8526ff6a6e7315db37449068855375a33
parent50449bed17c152f767470e6f84b84935130b3ae1 (diff)
downloadglibc-bfd49d5558cc88986cc95f70aa5646902ebd8ad4.tar.gz
glibc-bfd49d5558cc88986cc95f70aa5646902ebd8ad4.tar.xz
glibc-bfd49d5558cc88986cc95f70aa5646902ebd8ad4.zip
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend with a single instruction.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
	with a single instruction.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S3
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8201df04fc..2d0522d6b5 100644
--- 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
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S b/sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S
index ed3b4078e4..7b14089bcb 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S
@@ -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