* sysdeps/unix/sysv/linux/arm/linuxthreads/sysdep-cancel.h

(PSEUDO): Inline correct versions of PSEUDO_RET_MOV and MAYBE_SAVE_LR.
	(PSEUDO_RET_MOV, MAYBE_SAVE_LR): Don't define.
This commit is contained in:
Daniel Jacobowitz 2006-03-02 15:23:41 +00:00
parent 33ca998a4f
commit 43b83c6fe1
2 changed files with 9 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/linuxthreads/sysdep-cancel.h
(PSEUDO): Inline correct versions of PSEUDO_RET_MOV and MAYBE_SAVE_LR.
(PSEUDO_RET_MOV, MAYBE_SAVE_LR): Don't define.
2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/eabi/Makefile (arm-using-eabi): Set.

View File

@ -50,9 +50,10 @@
bne .Lpseudo_cancel; \
DO_CALL (syscall_name, args); \
cmn r0, $4096; \
PSEUDO_RET_MOV; \
RETINSTR(cc, lr); \
b PLTJMP(SYSCALL_ERROR); \
.Lpseudo_cancel: \
MAYBE_SAVE_LR; \
str lr, [sp, $-4]!; \
DOCARGS_##args; /* save syscall args around CENABLE. */ \
CENABLE; \
mov ip, r0; /* put mask in safe place. */ \
@ -108,11 +109,6 @@ extern int __local_multiple_threads attribute_hidden;
ldr ip, =__local_multiple_threads; \
ldr ip, [ip]; \
teq ip, #0;
# define MAYBE_SAVE_LR \
str lr, [sp, $-4]!;
# define PSEUDO_RET_MOV \
RETINSTR(cc, lr); \
b PLTJMP(SYSCALL_ERROR)
# define PSEUDO_PROLOGUE
# else
# define SINGLE_THREAD_P \
@ -122,8 +118,6 @@ extern int __local_multiple_threads attribute_hidden;
teq ip, #0;
# define PSEUDO_PROLOGUE \
1: .word __local_multiple_threads - 2f - 8;
# define MAYBE_SAVE_LR /* lr already saved */
# define PSEUDO_RET_MOV PSEUDO_RET
# endif
# endif