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.
* sysdeps/unix/sysv/linux/arm/nptl/Makefile: New file.
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. */ \
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 \
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