1.1 --- a/patches/glibc/2.2.5/arm-asm-clobber.patch Tue Aug 14 19:32:22 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,23 +0,0 @@
1.4 -http://gcc.gnu.org/PR11103
1.5 -
1.6 -Error:
1.7 -../sysdeps/unix/sysv/linux/arm/sigaction.c: In function `__libc_sigaction':
1.8 -../sysdeps/unix/sysv/linux/arm/sigaction.c:100: error: asm-specifier for variable `_a1' conflicts with asm clobber list
1.9 -../sysdeps/unix/sysv/linux/arm/sigaction.c:139: error: asm-specifier for variable `_a1' conflicts with asm clobber list
1.10 -make[2]: *** [/crosstool-0.22/build/arm-unknown-linux-gnu/gcc-3.3-glibc-2.2.5/build-glibc/signal/sigaction.o] Error 1
1.11 -
1.12 -Fix from http://lists.arm.linux.org.uk/pipermail/linux-arm/2003-July/005826.html
1.13 -rediffed against glibc-2.2.5
1.14 -Not tested. (I don't even understand it, just being a patch monkey...)
1.15 -
1.16 ---- glibc-2.2.5/sysdeps/unix/sysv/linux/arm/sysdep.h.old Wed Aug 27 09:58:15 2003
1.17 -+++ glibc-2.2.5/sysdeps/unix/sysv/linux/arm/sysdep.h Wed Aug 27 09:59:04 2003
1.18 -@@ -131,7 +131,7 @@
1.19 - asm volatile ("swi %1 @ syscall " #name \
1.20 - : "=r" (_a1) \
1.21 - : "i" (SYS_ify(name)) ASM_ARGS_##nr \
1.22 -- : "a1", "memory"); \
1.23 -+ : "memory"); \
1.24 - _sys_result = _a1; \
1.25 - } \
1.26 - if (_sys_result >= (unsigned int) -4095) \