patches/glibc/2.1.3/glibc-2.1.3-allow-gcc3-syscall.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 28 21:34:41 2007 +0000 (2007-07-28)
changeset 301 2be7232a73ac
permissions -rw-r--r--
Bump version to 0.2.2.
     1 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
     2 See also http://gcc.gnu.org/PR12928, comment 6 (which says this is a glibc bug, not a gcc bug)
     3 
     4 Fixes
     5 /tmp/ccdGVIRa.s: Assembler messages:
     6 /tmp/ccdGVIRa.s:82: Error: non-constant expression in ".if" statement
     7 /tmp/ccdGVIRa.s:83: Error: non-constant expression in ".if" statement
     8 /tmp/ccdGVIRa.s:86: Error: non-constant expression in ".if" statement
     9 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
    10 
    11 ===================================================================
    12 RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/sysdep.h,v
    13 retrieving revision 1.40
    14 retrieving revision 1.41
    15 diff -u -r1.40 -r1.41
    16 --- libc/sysdeps/unix/sysv/linux/i386/sysdep.h	2002/10/16 08:57:25	1.40
    17 +++ libc/sysdeps/unix/sysv/linux/i386/sysdep.h	2002/11/28 05:21:48	1.41
    18 @@ -347,9 +347,9 @@
    19  #define ASMFMT_1(arg1) \
    20  	, "acdSD" (arg1)
    21  #define ASMFMT_2(arg1, arg2) \
    22 -	, "adCD" (arg1), "c" (arg2)
    23 +	, "adSD" (arg1), "c" (arg2)
    24  #define ASMFMT_3(arg1, arg2, arg3) \
    25 -	, "aCD" (arg1), "c" (arg2), "d" (arg3)
    26 +	, "aSD" (arg1), "c" (arg2), "d" (arg3)
    27  #define ASMFMT_4(arg1, arg2, arg3, arg4) \
    28  	, "aD" (arg1), "c" (arg2), "d" (arg3), "S" (arg4)
    29  #define ASMFMT_5(arg1, arg2, arg3, arg4, arg5) \