1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.3.2/arm-asm-clobber.patch Thu May 24 17:50:07 2007 +0000
1.3 @@ -0,0 +1,26 @@
1.4 +http://gcc.gnu.org/PR11103
1.5 +http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/arm/sysdep.h.diff?r1=1.22&r2=1.23&cvsroot=glibc
1.6 +http://lists.arm.linux.org.uk/pipermail/linux-arm/2003-July/005826.html
1.7 +
1.8 +Error:
1.9 +../sysdeps/unix/sysv/linux/arm/sigaction.c: In function `__libc_sigaction':
1.10 +../sysdeps/unix/sysv/linux/arm/sigaction.c:100: error: asm-specifier for variable `_a1' conflicts with asm clobber list
1.11 +../sysdeps/unix/sysv/linux/arm/sigaction.c:139: error: asm-specifier for variable `_a1' conflicts with asm clobber list
1.12 +make[2]: *** [build-glibc/signal/sigaction.o] Error 1
1.13 +
1.14 +===================================================================
1.15 +RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/arm/sysdep.h,v
1.16 +retrieving revision 1.22
1.17 +retrieving revision 1.23
1.18 +diff -u -r1.22 -r1.23
1.19 +--- libc/sysdeps/unix/sysv/linux/arm/sysdep.h 2003/03/23 19:42:22 1.22
1.20 ++++ libc/sysdeps/unix/sysv/linux/arm/sysdep.h 2003/03/24 19:00:28 1.23
1.21 +@@ -174,7 +174,7 @@
1.22 + asm volatile ("swi %1 @ syscall " #name \
1.23 + : "=r" (_a1) \
1.24 + : "i" (SYS_ify(name)) ASM_ARGS_##nr \
1.25 +- : "a1", "memory"); \
1.26 ++ : "memory"); \
1.27 + _sys_result = _a1; \
1.28 + } \
1.29 + (int) _sys_result; })