Make regtest work back again.
1 I haven't built glibc-2.3.2 for arm myself, but
2 http://sources.redhat.com/ml/bug-glibc/2003-05/msg00076.html and
3 http://www.linux.org.uk/pipermail/linux-arm/2003-November/006560.html
4 give me the distinct impression that you need the latest sysdep-cancel.h from
9 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h.diff?cvsroot=glibc&r1=text&tr1=1.2&r2=text&tr2=1.6&f=u
11 ===================================================================
12 RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h,v
13 retrieving revision 1.2
14 retrieving revision 1.6
16 --- libc/linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h 2003/01/12 09:14:25 1.2
17 +++ libc/linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h 2003/06/06 17:31:40 1.6
20 #if !defined NOT_IN_libc || defined IS_IN_libpthread
22 +/* We push lr onto the stack, so we have to use ldmib instead of ldmia
23 + to find the saved arguments. */
28 +# define DOARGS_5 str r4, [sp, $-4]!; ldr r4, [sp, $8];
29 +# define DOARGS_6 mov ip, sp; stmfd sp!, {r4, r5}; ldmib ip, {r4, r5};
30 +# define DOARGS_7 mov ip, sp; stmfd sp!, {r4, r5, r6}; ldmib ip, {r4, r5, r6};
37 # define PSEUDO(name, syscall_name, args) \
42 SINGLE_THREAD_P_INT; \
43 bne .Lpseudo_cancel; \
44 DO_CALL (syscall_name, args); \
50 + ldr ip, [ip, reg]; \
52 # define SINGLE_THREAD_P_INT \