diff options
author | Roland McGrath <roland@gnu.org> | 2004-12-04 21:20:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-12-04 21:20:42 +0000 |
commit | 577e4aa1ec5462ead3af4ba2236881ed4672f01e (patch) | |
tree | 87948205c3d9250bd57065380599325f77cc152d /sysdeps/unix/sysv/linux/arm/vfork.S | |
parent | 3f488b9cddc0a49b0860a3714eb7a77019482d38 (diff) | |
download | glibc-577e4aa1ec5462ead3af4ba2236881ed4672f01e.zip glibc-577e4aa1ec5462ead3af4ba2236881ed4672f01e.tar.gz glibc-577e4aa1ec5462ead3af4ba2236881ed4672f01e.tar.bz2 |
* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
Use it instead of __THUMB_INTERWORK__. Make RETINSTR take
only a condition and a register.
* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
__THUMB_INTERWORK__.
(_dl_start_user): Use BX.
* sysdeps/arm/strlen.S: Use DO_RET.
* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S,
sysdeps/unix/sysv/linux/arm/mmap.S,
sysdeps/unix/sysv/linux/arm/mmap64.S,
sysdeps/unix/sysv/linux/arm/socket.S,
sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/vfork.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/vfork.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/vfork.S b/sysdeps/unix/sysv/linux/arm/vfork.S index bba1a54..9ef5114 100644 --- a/sysdeps/unix/sysv/linux/arm/vfork.S +++ b/sysdeps/unix/sysv/linux/arm/vfork.S @@ -32,7 +32,7 @@ ENTRY (__vfork) #ifdef __NR_vfork swi __NR_vfork cmn a1, #4096 - RETINSTR(movcc, pc, lr) + RETINSTR(cc, lr) # ifdef __ASSUME_VFORK_SYSCALL b PLTJMP(C_SYMBOL_NAME(__syscall_error)) @@ -47,7 +47,7 @@ ENTRY (__vfork) /* If we don't have vfork, fork is close enough. */ swi __NR_fork cmn a1, #4096 - RETINSTR(movcc, pc, lr) + RETINSTR(cc, lr) b PLTJMP(C_SYMBOL_NAME(__syscall_error)) #elif !defined __NR_vfork # error "__NR_vfork not available and __ASSUME_VFORK_SYSCALL defined" |