patches/glibc/2.5.1/fix-pr398.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Aug 11 10:57:18 2007 +0000 (2007-08-11)
changeset 323 90fefc8790fb
parent 98 patches/glibc/2.5/fix-pr398.patch@9ac06558d226
permissions -rw-r--r--
Add glibc: 2.5.1 - 2.6 - 2.6.1.
Apply the same patches as glibc 2.5: they apply without any problem (except for ridiculously small offsets).
yann@98
     1
Fixes error
yann@98
     2
yann@98
     3
dl-runtime.c:222: error: parse error before "CFI_STARTPROC"
yann@98
     4
make[2]: *** [crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/build-glibc/elf/dl-runtim
yann@98
     5
e.o] Error 1
yann@98
     6
make[2]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
yann@98
     7
822/elf'
yann@98
     8
make[1]: *** [elf/subdir_lib] Error 2
yann@98
     9
make[1]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
yann@98
    10
822'
yann@98
    11
make: *** [all] Error 2
yann@98
    12
yann@98
    13
-----------------
yann@98
    14
yann@98
    15
See http://sources.redhat.com/bugzilla/show_bug.cgi?id=398
yann@98
    16
http://sources.redhat.com/ml/libc-alpha/2004-07/msg00023.html
yann@98
    17
yann@98
    18
-----------------
yann@98
    19
yann@98
    20
CVSROOT:	/cvs/glibc
yann@98
    21
Module name:	libc
yann@98
    22
Branch: 	glibc-2_3-branch
yann@98
    23
Changes by:	roland@sources.redhat.com	2006-02-23 22:36:51
yann@98
    24
yann@98
    25
Modified files:
yann@98
    26
	sysdeps/s390/s390-64: dl-machine.h 
yann@98
    27
	sysdeps/s390/s390-32: dl-machine.h 
yann@98
    28
yann@98
    29
Log message:
yann@98
    30
	2004-07-10  GOTO Masanori  <gotom@debian.or.jp>
yann@98
    31
	
yann@98
    32
	[BZ #398]
yann@98
    33
	* sysdeps/s390/s390-32/dl-machine.h: Include <sysdep.h> for CFI
yann@98
    34
	directive.
yann@98
    35
	* sysdeps/s390/s390-64/dl-machine.h: Likewise.
yann@98
    36
yann@98
    37
Patches:
yann@98
    38
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/s390/s390-64/dl-machine.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.19.4.1&r2=1.19.4.2
yann@98
    39
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/s390/s390-32/dl-machine.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.20.4.1&r2=1.20.4.2
yann@98
    40
yann@98
    41
===================================================================
yann@98
    42
RCS file: /cvs/glibc/libc/sysdeps/s390/s390-64/dl-machine.h,v
yann@98
    43
retrieving revision 1.19.4.1
yann@98
    44
retrieving revision 1.19.4.2
yann@98
    45
diff -u -r1.19.4.1 -r1.19.4.2
yann@98
    46
--- libc/sysdeps/s390/s390-64/dl-machine.h	2005/10/17 04:57:27	1.19.4.1
yann@98
    47
+++ libc/sysdeps/s390/s390-64/dl-machine.h	2006/02/23 22:36:51	1.19.4.2
yann@98
    48
@@ -27,6 +27,7 @@
yann@98
    49
 #include <sys/param.h>
yann@98
    50
 #include <string.h>
yann@98
    51
 #include <link.h>
yann@98
    52
+#include <sysdep.h>
yann@98
    53
 
yann@98
    54
 /* This is an older, now obsolete value.  */
yann@98
    55
 #define EM_S390_OLD	0xA390
yann@98
    56
===================================================================
yann@98
    57
RCS file: /cvs/glibc/libc/sysdeps/s390/s390-32/dl-machine.h,v
yann@98
    58
retrieving revision 1.20.4.1
yann@98
    59
retrieving revision 1.20.4.2
yann@98
    60
diff -u -r1.20.4.1 -r1.20.4.2
yann@98
    61
--- libc/sysdeps/s390/s390-32/dl-machine.h	2005/10/17 04:57:27	1.20.4.1
yann@98
    62
+++ libc/sysdeps/s390/s390-32/dl-machine.h	2006/02/23 22:36:51	1.20.4.2
yann@98
    63
@@ -27,6 +27,7 @@
yann@98
    64
 #include <sys/param.h>
yann@98
    65
 #include <string.h>
yann@98
    66
 #include <link.h>
yann@98
    67
+#include <sysdep.h>
yann@98
    68
 
yann@98
    69
 /* This is an older, now obsolete value.  */
yann@98
    70
 #define EM_S390_OLD	0xA390