2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Update RETINSTR use. * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
This commit is contained in:
parent
47f0752a48
commit
9db87dc9e2
@ -112,7 +112,7 @@ extern int __local_multiple_threads attribute_hidden;
|
||||
# define MAYBE_SAVE_LR \
|
||||
str lr, [sp, $-4]!;
|
||||
# define PSEUDO_RET_MOV \
|
||||
RETINSTR(movcc, pc, lr); \
|
||||
RETINSTR(cc, lr); \
|
||||
b PLTJMP(SYSCALL_ERROR)
|
||||
# define PSEUDO_PROLOGUE
|
||||
# else
|
||||
|
@ -46,7 +46,7 @@ ENTRY (__vfork)
|
||||
|
||||
swi __NR_vfork
|
||||
cmn a1, #4096
|
||||
RETINSTR(movcc, pc, lr)
|
||||
RETINSTR(cc, lr)
|
||||
|
||||
#ifndef __ASSUME_VFORK_SYSCALL
|
||||
/* Check if vfork syscall is known at all. */
|
||||
@ -60,7 +60,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)
|
||||
#elif !defined __NR_vfork
|
||||
# error "__NR_vfork not available and __ASSUME_VFORK_SYSCALL defined"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user