projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
541ee34
)
(PUSHARGS_1): Use more efficient instruction.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 24 Jul 2002 17:36:44 +0000
(17:36 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 24 Jul 2002 17:36:44 +0000
(17:36 +0000)
(__socket): Optimize return sequence.
sysdeps/unix/sysv/linux/arm/socket.S
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/arm/socket.S
b/sysdeps/unix/sysv/linux/arm/socket.S
index
a672413
..
2672de7
100644
(file)
--- a/
sysdeps/unix/sysv/linux/arm/socket.S
+++ b/
sysdeps/unix/sysv/linux/arm/socket.S
@@
-35,7
+35,7
@@
#define __socket P(__,socket)
#endif
-#define PUSHARGS_1 st
mfd sp!, {a1}
+#define PUSHARGS_1 st
r a1, [sp, $-4]!
#define PUSHARGS_2 stmfd sp!, {a1, a2}
#define PUSHARGS_3 stmfd sp!, {a1, a2, a3}
#define PUSHARGS_4 stmfd sp!, {a1, a2, a3, a4}
@@
-78,10
+78,8
@@
ENTRY (__socket)
/* r0 is < 0 if there was an error. */
cmn r0, $124
- bhs PLTJMP(syscall_error)
-
- /* Successful; return the syscall's value. */
- ret
+ RETINSTR(movcc, pc, r14)
+ b PLTJMP(syscall_error)
PSEUDO_END (__socket)