1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.1.3/glibc-2.1.3-allow-gcc3-syscall.patch Tue Apr 10 14:55:15 2007 +0000
1.3 @@ -0,0 +1,29 @@
1.4 +http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/i386/sysdep.h.diff?r1=1.40&r2=1.41&cvsroot=glibc
1.5 +See also http://gcc.gnu.org/PR12928, comment 6 (which says this is a glibc bug, not a gcc bug)
1.6 +
1.7 +Fixes
1.8 +/tmp/ccdGVIRa.s: Assembler messages:
1.9 +/tmp/ccdGVIRa.s:82: Error: non-constant expression in ".if" statement
1.10 +/tmp/ccdGVIRa.s:83: Error: non-constant expression in ".if" statement
1.11 +/tmp/ccdGVIRa.s:86: Error: non-constant expression in ".if" statement
1.12 +make[2]: *** [/crosstool-0.28-pre4/build/i686-unknown-linux-gnu/gcc-3.3.3-glibc-2.1.3/build-glibc/signal/sigsuspend.o] Error 1
1.13 +
1.14 +===================================================================
1.15 +RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/sysdep.h,v
1.16 +retrieving revision 1.40
1.17 +retrieving revision 1.41
1.18 +diff -u -r1.40 -r1.41
1.19 +--- libc/sysdeps/unix/sysv/linux/i386/sysdep.h 2002/10/16 08:57:25 1.40
1.20 ++++ libc/sysdeps/unix/sysv/linux/i386/sysdep.h 2002/11/28 05:21:48 1.41
1.21 +@@ -347,9 +347,9 @@
1.22 + #define ASMFMT_1(arg1) \
1.23 + , "acdSD" (arg1)
1.24 + #define ASMFMT_2(arg1, arg2) \
1.25 +- , "adCD" (arg1), "c" (arg2)
1.26 ++ , "adSD" (arg1), "c" (arg2)
1.27 + #define ASMFMT_3(arg1, arg2, arg3) \
1.28 +- , "aCD" (arg1), "c" (arg2), "d" (arg3)
1.29 ++ , "aSD" (arg1), "c" (arg2), "d" (arg3)
1.30 + #define ASMFMT_4(arg1, arg2, arg3, arg4) \
1.31 + , "aD" (arg1), "c" (arg2), "d" (arg3), "S" (arg4)
1.32 + #define ASMFMT_5(arg1, arg2, arg3, arg4, arg5) \