mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
* 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.
This commit is contained in:
parent
50449bed17
commit
bfd49d5558
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user