patches/gcc/4.1.2/100-uclibc-conf.patch
changeset 13 068dce39f687
parent 1 eeea35fbf182
     1.1 --- a/patches/gcc/4.1.2/100-uclibc-conf.patch	Sat Feb 24 11:00:05 2007 +0000
     1.2 +++ b/patches/gcc/4.1.2/100-uclibc-conf.patch	Sun Mar 04 22:56:04 2007 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4 ---- gcc-4.1.0/gcc/config/t-linux-uclibc
     1.5 -+++ gcc-4.1.0/gcc/config/t-linux-uclibc
     1.6 +--- gcc-4.1.2.orig/gcc/config/t-linux-uclibc	1970-01-01 01:00:00.000000000 +0100
     1.7 ++++ gcc-4.1.2/gcc/config/t-linux-uclibc	2007-03-04 23:25:07.000000000 +0100
     1.8  @@ -0,0 +1,5 @@
     1.9  +# Remove glibc specific files added in t-linux
    1.10  +SHLIB_MAPFILES := $(filter-out $(srcdir)/config/libgcc-glibc.ver, $(SHLIB_MAPFILES))
    1.11  +
    1.12  +# Use unwind-dw2-fde instead of unwind-dw2-fde-glibc
    1.13  +LIB2ADDEH := $(subst unwind-dw2-fde-glibc.c,unwind-dw2-fde.c,$(LIB2ADDEH))
    1.14 ---- gcc-4.1.0/gcc/config.gcc
    1.15 -+++ gcc-4.1.0/gcc/config.gcc
    1.16 -@@ -1887,7 +1887,7 @@ s390x-ibm-tpf*)
    1.17 +--- gcc-4.1.2.orig/gcc/config.gcc	2006-10-16 01:12:23.000000000 +0200
    1.18 ++++ gcc-4.1.2/gcc/config.gcc	2007-03-04 23:25:07.000000000 +0100
    1.19 +@@ -1884,7 +1884,7 @@
    1.20   	;;
    1.21   sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
    1.22   sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
    1.23 @@ -17,7 +17,7 @@
    1.24     sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
    1.25      sh64-*-netbsd* | sh64l*-*-netbsd*)
    1.26   	tmake_file="${tmake_file} sh/t-sh sh/t-elf"
    1.27 -@@ -2341,6 +2341,12 @@ m32c-*-elf*)
    1.28 +@@ -2338,6 +2338,12 @@
    1.29   	;;
    1.30   esac
    1.31   
    1.32 @@ -30,9 +30,9 @@
    1.33   case ${target} in
    1.34   i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1)
    1.35   	tmake_file="${tmake_file} i386/t-gmm_malloc"
    1.36 ---- gcc-4.1.0/boehm-gc/configure
    1.37 -+++ gcc-4.1.0/boehm-gc/configure
    1.38 -@@ -4320,6 +4320,11 @@ linux-gnu*)
    1.39 +--- gcc-4.1.2.orig/boehm-gc/configure	2007-02-14 06:17:22.000000000 +0100
    1.40 ++++ gcc-4.1.2/boehm-gc/configure	2007-03-04 23:25:07.000000000 +0100
    1.41 +@@ -4320,6 +4320,11 @@
    1.42     lt_cv_deplibs_check_method=pass_all
    1.43     ;;
    1.44   
    1.45 @@ -44,9 +44,9 @@
    1.46   netbsd* | knetbsd*-gnu)
    1.47     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1.48       lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    1.49 ---- gcc-4.1.0/configure
    1.50 -+++ gcc-4.1.0/configure
    1.51 -@@ -1133,7 +1133,7 @@ no)
    1.52 +--- gcc-4.1.2.orig/configure	2006-11-21 18:48:36.000000000 +0100
    1.53 ++++ gcc-4.1.2/configure	2007-03-04 23:25:07.000000000 +0100
    1.54 +@@ -1133,7 +1133,7 @@
    1.55       ;;
    1.56   "")
    1.57       case "${target}" in
    1.58 @@ -55,9 +55,9 @@
    1.59           # Enable libmudflap by default in GNU and friends.
    1.60   	;;
    1.61       *-*-freebsd*)
    1.62 ---- gcc-4.1.0/configure.in
    1.63 -+++ gcc-4.1.0/configure.in
    1.64 -@@ -341,7 +341,7 @@ no)
    1.65 +--- gcc-4.1.2.orig/configure.in	2006-11-21 18:48:36.000000000 +0100
    1.66 ++++ gcc-4.1.2/configure.in	2007-03-04 23:25:07.000000000 +0100
    1.67 +@@ -341,7 +341,7 @@
    1.68       ;;
    1.69   "")
    1.70       case "${target}" in
    1.71 @@ -66,9 +66,9 @@
    1.72           # Enable libmudflap by default in GNU and friends.
    1.73   	;;
    1.74       *-*-freebsd*)
    1.75 ---- gcc-4.1.0/contrib/regression/objs-gcc.sh
    1.76 -+++ gcc-4.1.0/contrib/regression/objs-gcc.sh
    1.77 -@@ -105,6 +105,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H
    1.78 +--- gcc-4.1.2.orig/contrib/regression/objs-gcc.sh	2005-08-15 02:41:31.000000000 +0200
    1.79 ++++ gcc-4.1.2/contrib/regression/objs-gcc.sh	2007-03-04 23:25:07.000000000 +0100
    1.80 +@@ -105,6 +105,10 @@
    1.81    then
    1.82     make all-gdb all-dejagnu all-ld || exit 1
    1.83     make install-gdb install-dejagnu install-ld || exit 1
    1.84 @@ -79,9 +79,9 @@
    1.85   elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
    1.86     make bootstrap || exit 1
    1.87     make install || exit 1
    1.88 ---- gcc-4.1.0/gcc/config/alpha/linux-elf.h
    1.89 -+++ gcc-4.1.0/gcc/config/alpha/linux-elf.h
    1.90 -@@ -27,7 +27,11 @@ Boston, MA 02110-1301, USA.  */
    1.91 +--- gcc-4.1.2.orig/gcc/config/alpha/linux-elf.h	2005-06-25 03:22:41.000000000 +0200
    1.92 ++++ gcc-4.1.2/gcc/config/alpha/linux-elf.h	2007-03-04 23:25:07.000000000 +0100
    1.93 +@@ -27,7 +27,11 @@
    1.94   #define SUBTARGET_EXTRA_SPECS \
    1.95   { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
    1.96   
    1.97 @@ -93,8 +93,8 @@
    1.98   
    1.99   #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax}		\
   1.100     %{O*:-O3} %{!O*:-O1}						\
   1.101 ---- gcc-4.1.0/gcc/config/arm/linux-elf.h
   1.102 -+++ gcc-4.1.0/gcc/config/arm/linux-elf.h
   1.103 +--- gcc-4.1.2.orig/gcc/config/arm/linux-elf.h	2005-10-10 03:04:31.000000000 +0200
   1.104 ++++ gcc-4.1.2/gcc/config/arm/linux-elf.h	2007-03-04 23:25:07.000000000 +0100
   1.105  @@ -51,7 +51,11 @@
   1.106   
   1.107   #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
   1.108 @@ -107,9 +107,9 @@
   1.109   
   1.110   #define LINUX_TARGET_LINK_SPEC  "%{h*} %{version:-v} \
   1.111      %{b} \
   1.112 ---- gcc-4.1.0/gcc/config/cris/linux.h
   1.113 -+++ gcc-4.1.0/gcc/config/cris/linux.h
   1.114 -@@ -73,6 +73,25 @@ Boston, MA 02110-1301, USA.  */
   1.115 +--- gcc-4.1.2.orig/gcc/config/cris/linux.h	2005-06-25 03:22:41.000000000 +0200
   1.116 ++++ gcc-4.1.2/gcc/config/cris/linux.h	2007-03-04 23:25:07.000000000 +0100
   1.117 +@@ -73,6 +73,25 @@
   1.118   #undef CRIS_DEFAULT_CPU_VERSION
   1.119   #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
   1.120   
   1.121 @@ -135,7 +135,7 @@
   1.122   #undef CRIS_SUBTARGET_VERSION
   1.123   #define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
   1.124   
   1.125 -@@ -87,6 +106,8 @@ Boston, MA 02110-1301, USA.  */
   1.126 +@@ -87,6 +106,8 @@
   1.127     %{!shared:%{!static:%{rdynamic:-export-dynamic}}}\
   1.128     %{!r:%{O2|O3: --gc-sections}}"
   1.129   
   1.130 @@ -144,9 +144,9 @@
   1.131   
   1.132   /* Node: Run-time Target */
   1.133   
   1.134 ---- gcc-4.1.0/gcc/config/i386/linux.h
   1.135 -+++ gcc-4.1.0/gcc/config/i386/linux.h
   1.136 -@@ -107,6 +107,11 @@ Boston, MA 02110-1301, USA.  */
   1.137 +--- gcc-4.1.2.orig/gcc/config/i386/linux.h	2005-08-10 19:53:01.000000000 +0200
   1.138 ++++ gcc-4.1.2/gcc/config/i386/linux.h	2007-03-04 23:25:07.000000000 +0100
   1.139 +@@ -107,6 +107,11 @@
   1.140   #define LINK_EMULATION "elf_i386"
   1.141   #define DYNAMIC_LINKER "/lib/ld-linux.so.2"
   1.142   
   1.143 @@ -158,9 +158,9 @@
   1.144   #undef  SUBTARGET_EXTRA_SPECS
   1.145   #define SUBTARGET_EXTRA_SPECS \
   1.146     { "link_emulation", LINK_EMULATION },\
   1.147 ---- gcc-4.1.0/gcc/config/i386/linux64.h
   1.148 -+++ gcc-4.1.0/gcc/config/i386/linux64.h
   1.149 -@@ -54,14 +54,21 @@ Boston, MA 02110-1301, USA.  */
   1.150 +--- gcc-4.1.2.orig/gcc/config/i386/linux64.h	2005-08-10 19:53:01.000000000 +0200
   1.151 ++++ gcc-4.1.2/gcc/config/i386/linux64.h	2007-03-04 23:25:07.000000000 +0100
   1.152 +@@ -54,14 +54,21 @@
   1.153      When the -shared link option is used a final link is not being
   1.154      done.  */
   1.155   
   1.156 @@ -184,9 +184,9 @@
   1.157       %{static:-static}}"
   1.158   
   1.159   /* Similar to standard Linux, but adding -ffast-math support.  */
   1.160 ---- gcc-4.1.0/gcc/config/ia64/linux.h
   1.161 -+++ gcc-4.1.0/gcc/config/ia64/linux.h
   1.162 -@@ -37,13 +37,18 @@ do {						\
   1.163 +--- gcc-4.1.2.orig/gcc/config/ia64/linux.h	2006-12-12 16:24:07.000000000 +0100
   1.164 ++++ gcc-4.1.2/gcc/config/ia64/linux.h	2007-03-04 23:25:07.000000000 +0100
   1.165 +@@ -37,13 +37,18 @@
   1.166   /* Define this for shared library support because it isn't in the main
   1.167      linux.h file.  */
   1.168   
   1.169 @@ -205,10 +205,10 @@
   1.170  +      %{!dynamic-linker:-dynamic-linker " ELF_DYNAMIC_LINKER "}} \
   1.171         %{static:-static}}"
   1.172   
   1.173 - 
   1.174 ---- gcc-4.1.0/gcc/config/m68k/linux.h
   1.175 -+++ gcc-4.1.0/gcc/config/m68k/linux.h
   1.176 -@@ -123,12 +123,17 @@ Boston, MA 02110-1301, USA.  */
   1.177 + #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
   1.178 +--- gcc-4.1.2.orig/gcc/config/m68k/linux.h	2005-06-25 03:22:41.000000000 +0200
   1.179 ++++ gcc-4.1.2/gcc/config/m68k/linux.h	2007-03-04 23:25:07.000000000 +0100
   1.180 +@@ -123,12 +123,17 @@
   1.181   
   1.182   /* If ELF is the default format, we should not use /lib/elf.  */
   1.183   
   1.184 @@ -227,9 +227,9 @@
   1.185       %{static}}"
   1.186   
   1.187   /* For compatibility with linux/a.out */
   1.188 ---- gcc-4.1.0/gcc/config/mips/linux.h
   1.189 -+++ gcc-4.1.0/gcc/config/mips/linux.h
   1.190 -@@ -105,6 +105,11 @@ Boston, MA 02110-1301, USA.  */
   1.191 +--- gcc-4.1.2.orig/gcc/config/mips/linux.h	2006-12-17 14:57:31.000000000 +0100
   1.192 ++++ gcc-4.1.2/gcc/config/mips/linux.h	2007-03-04 23:25:07.000000000 +0100
   1.193 +@@ -105,6 +105,11 @@
   1.194   
   1.195   /* Borrowed from sparc/linux.h */
   1.196   #undef LINK_SPEC
   1.197 @@ -241,7 +241,7 @@
   1.198   #define LINK_SPEC \
   1.199    "%(endian_spec) \
   1.200     %{shared:-shared} \
   1.201 -@@ -112,7 +117,7 @@ Boston, MA 02110-1301, USA.  */
   1.202 +@@ -112,7 +117,7 @@
   1.203       %{!ibcs: \
   1.204         %{!static: \
   1.205           %{rdynamic:-export-dynamic} \
   1.206 @@ -250,9 +250,9 @@
   1.207           %{static:-static}}}"
   1.208   
   1.209   #undef SUBTARGET_ASM_SPEC
   1.210 ---- gcc-4.1.0/gcc/config/pa/pa-linux.h
   1.211 -+++ gcc-4.1.0/gcc/config/pa/pa-linux.h
   1.212 -@@ -49,13 +49,18 @@ Boston, MA 02110-1301, USA.  */
   1.213 +--- gcc-4.1.2.orig/gcc/config/pa/pa-linux.h	2007-01-12 03:23:38.000000000 +0100
   1.214 ++++ gcc-4.1.2/gcc/config/pa/pa-linux.h	2007-03-04 23:25:07.000000000 +0100
   1.215 +@@ -49,13 +49,18 @@
   1.216   /* Define this for shared library support because it isn't in the main
   1.217      linux.h file.  */
   1.218   
   1.219 @@ -272,8 +272,8 @@
   1.220         %{static:-static}}"
   1.221   
   1.222   /* glibc's profiling functions don't need gcc to allocate counters.  */
   1.223 ---- gcc-4.1.0/gcc/config/rs6000/linux.h
   1.224 -+++ gcc-4.1.0/gcc/config/rs6000/linux.h
   1.225 +--- gcc-4.1.2.orig/gcc/config/rs6000/linux.h	2006-02-10 21:58:33.000000000 +0100
   1.226 ++++ gcc-4.1.2/gcc/config/rs6000/linux.h	2007-03-04 23:25:07.000000000 +0100
   1.227  @@ -72,7 +72,11 @@
   1.228   #define LINK_START_DEFAULT_SPEC "%(link_start_linux)"
   1.229   
   1.230 @@ -286,9 +286,9 @@
   1.231   
   1.232   #define LINK_GCC_C_SEQUENCE_SPEC \
   1.233     "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"
   1.234 ---- gcc-4.1.0/gcc/config/rs6000/sysv4.h
   1.235 -+++ gcc-4.1.0/gcc/config/rs6000/sysv4.h
   1.236 -@@ -866,6 +866,7 @@ extern int fixuplabelno;
   1.237 +--- gcc-4.1.2.orig/gcc/config/rs6000/sysv4.h	2006-02-10 21:58:33.000000000 +0100
   1.238 ++++ gcc-4.1.2/gcc/config/rs6000/sysv4.h	2007-03-04 23:25:08.000000000 +0100
   1.239 +@@ -866,6 +866,7 @@
   1.240     mcall-linux  : %(link_os_linux)       ; \
   1.241     mcall-gnu    : %(link_os_gnu)         ; \
   1.242     mcall-netbsd : %(link_os_netbsd)      ; \
   1.243 @@ -296,7 +296,7 @@
   1.244     mcall-openbsd: %(link_os_openbsd)     ; \
   1.245                  : %(link_os_default)     }"
   1.246   
   1.247 -@@ -1043,6 +1044,10 @@ extern int fixuplabelno;
   1.248 +@@ -1043,6 +1044,10 @@
   1.249     %{rdynamic:-export-dynamic} \
   1.250     %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}"
   1.251   
   1.252 @@ -307,7 +307,7 @@
   1.253   #if defined(HAVE_LD_EH_FRAME_HDR)
   1.254   # define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
   1.255   #endif
   1.256 -@@ -1209,6 +1214,7 @@ ncrtn.o%s"
   1.257 +@@ -1209,6 +1214,7 @@
   1.258     { "link_os_sim",		LINK_OS_SIM_SPEC },			\
   1.259     { "link_os_freebsd",		LINK_OS_FREEBSD_SPEC },			\
   1.260     { "link_os_linux",		LINK_OS_LINUX_SPEC },			\
   1.261 @@ -315,9 +315,9 @@
   1.262     { "link_os_gnu",		LINK_OS_GNU_SPEC },			\
   1.263     { "link_os_netbsd",		LINK_OS_NETBSD_SPEC },			\
   1.264     { "link_os_openbsd",		LINK_OS_OPENBSD_SPEC },			\
   1.265 ---- gcc-4.1.0/gcc/config/s390/linux.h
   1.266 -+++ gcc-4.1.0/gcc/config/s390/linux.h
   1.267 -@@ -77,6 +77,13 @@ Software Foundation, 51 Franklin Street,
   1.268 +--- gcc-4.1.2.orig/gcc/config/s390/linux.h	2006-12-12 16:24:07.000000000 +0100
   1.269 ++++ gcc-4.1.2/gcc/config/s390/linux.h	2007-03-04 23:25:08.000000000 +0100
   1.270 +@@ -77,6 +77,13 @@
   1.271   #define MULTILIB_DEFAULTS { "m31" }
   1.272   #endif
   1.273   
   1.274 @@ -331,7 +331,7 @@
   1.275   #undef  LINK_SPEC
   1.276   #define LINK_SPEC \
   1.277     "%{m31:-m elf_s390}%{m64:-m elf64_s390} \
   1.278 -@@ -86,8 +93,8 @@ Software Foundation, 51 Franklin Street,
   1.279 +@@ -86,8 +93,8 @@
   1.280         %{!static: \
   1.281   	%{rdynamic:-export-dynamic} \
   1.282   	%{!dynamic-linker: \
   1.283 @@ -340,11 +340,11 @@
   1.284  +          %{m31:-dynamic-linker " ELF31_DYNAMIC_LINKER "} \
   1.285  +          %{m64:-dynamic-linker " ELF64_DYNAMIC_LINKER "}}}}"
   1.286   
   1.287 + #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
   1.288   
   1.289 - #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
   1.290 ---- gcc-4.1.0/gcc/config/sh/linux.h
   1.291 -+++ gcc-4.1.0/gcc/config/sh/linux.h
   1.292 -@@ -56,12 +56,21 @@ Boston, MA 02110-1301, USA.  */
   1.293 +--- gcc-4.1.2.orig/gcc/config/sh/linux.h	2005-06-25 03:22:41.000000000 +0200
   1.294 ++++ gcc-4.1.2/gcc/config/sh/linux.h	2007-03-04 23:25:08.000000000 +0100
   1.295 +@@ -56,12 +56,21 @@
   1.296   #undef SUBTARGET_LINK_EMUL_SUFFIX
   1.297   #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
   1.298   #undef SUBTARGET_LINK_SPEC
   1.299 @@ -366,9 +366,9 @@
   1.300   
   1.301   /* Output assembler code to STREAM to call the profiler.  */
   1.302   
   1.303 ---- gcc-4.1.0/gcc/config/sparc/linux.h
   1.304 -+++ gcc-4.1.0/gcc/config/sparc/linux.h
   1.305 -@@ -125,6 +125,11 @@ Boston, MA 02110-1301, USA.  */
   1.306 +--- gcc-4.1.2.orig/gcc/config/sparc/linux.h	2006-02-11 09:38:51.000000000 +0100
   1.307 ++++ gcc-4.1.2/gcc/config/sparc/linux.h	2007-03-04 23:25:08.000000000 +0100
   1.308 +@@ -125,6 +125,11 @@
   1.309   
   1.310   /* If ELF is the default format, we should not use /lib/elf.  */
   1.311   
   1.312 @@ -380,7 +380,7 @@
   1.313   #undef  LINK_SPEC
   1.314   #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
   1.315     %{!mno-relax:%{!r:-relax}} \
   1.316 -@@ -132,7 +137,7 @@ Boston, MA 02110-1301, USA.  */
   1.317 +@@ -132,7 +137,7 @@
   1.318       %{!ibcs: \
   1.319         %{!static: \
   1.320           %{rdynamic:-export-dynamic} \
   1.321 @@ -389,9 +389,9 @@
   1.322           %{static:-static}}}"
   1.323   
   1.324   /* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
   1.325 ---- gcc-4.1.0/gcc/config/sparc/linux64.h
   1.326 -+++ gcc-4.1.0/gcc/config/sparc/linux64.h
   1.327 -@@ -162,12 +162,17 @@ Boston, MA 02110-1301, USA.  */
   1.328 +--- gcc-4.1.2.orig/gcc/config/sparc/linux64.h	2006-02-11 09:38:51.000000000 +0100
   1.329 ++++ gcc-4.1.2/gcc/config/sparc/linux64.h	2007-03-04 23:25:08.000000000 +0100
   1.330 +@@ -162,12 +162,17 @@
   1.331     { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },	  \
   1.332     { "link_arch",	 LINK_ARCH_SPEC },
   1.333       
   1.334 @@ -410,9 +410,9 @@
   1.335           %{static:-static}}} \
   1.336   "
   1.337   
   1.338 ---- gcc-4.1.0/libffi/configure
   1.339 -+++ gcc-4.1.0/libffi/configure
   1.340 -@@ -3457,6 +3457,11 @@ linux-gnu*)
   1.341 +--- gcc-4.1.2.orig/libffi/configure	2007-02-14 06:17:22.000000000 +0100
   1.342 ++++ gcc-4.1.2/libffi/configure	2007-03-04 23:25:08.000000000 +0100
   1.343 +@@ -3457,6 +3457,11 @@
   1.344     lt_cv_deplibs_check_method=pass_all
   1.345     ;;
   1.346   
   1.347 @@ -424,9 +424,9 @@
   1.348   netbsd* | knetbsd*-gnu)
   1.349     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   1.350       lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
   1.351 ---- gcc-4.1.0/libgfortran/configure
   1.352 -+++ gcc-4.1.0/libgfortran/configure
   1.353 -@@ -3699,6 +3699,11 @@ linux-gnu*)
   1.354 +--- gcc-4.1.2.orig/libgfortran/configure	2006-12-06 11:55:37.000000000 +0100
   1.355 ++++ gcc-4.1.2/libgfortran/configure	2007-03-04 23:25:08.000000000 +0100
   1.356 +@@ -3699,6 +3699,11 @@
   1.357     lt_cv_deplibs_check_method=pass_all
   1.358     ;;
   1.359   
   1.360 @@ -438,9 +438,9 @@
   1.361   netbsd* | knetbsd*-gnu)
   1.362     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   1.363       lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
   1.364 ---- gcc-4.1.0/libjava/configure
   1.365 -+++ gcc-4.1.0/libjava/configure
   1.366 -@@ -5137,6 +5137,11 @@ linux-gnu*)
   1.367 +--- gcc-4.1.2.orig/libjava/configure	2007-02-14 06:17:22.000000000 +0100
   1.368 ++++ gcc-4.1.2/libjava/configure	2007-03-04 23:25:08.000000000 +0100
   1.369 +@@ -5137,6 +5137,11 @@
   1.370     lt_cv_deplibs_check_method=pass_all
   1.371     ;;
   1.372   
   1.373 @@ -452,9 +452,9 @@
   1.374   netbsd* | knetbsd*-gnu)
   1.375     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   1.376       lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
   1.377 ---- gcc-4.1.0/libmudflap/configure
   1.378 -+++ gcc-4.1.0/libmudflap/configure
   1.379 -@@ -5382,6 +5382,11 @@ linux-gnu*)
   1.380 +--- gcc-4.1.2.orig/libmudflap/configure	2005-10-05 01:54:38.000000000 +0200
   1.381 ++++ gcc-4.1.2/libmudflap/configure	2007-03-04 23:25:08.000000000 +0100
   1.382 +@@ -5382,6 +5382,11 @@
   1.383     lt_cv_deplibs_check_method=pass_all
   1.384     ;;
   1.385   
   1.386 @@ -466,9 +466,9 @@
   1.387   netbsd* | knetbsd*-gnu)
   1.388     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   1.389       lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
   1.390 ---- gcc-4.1.0/libobjc/configure
   1.391 -+++ gcc-4.1.0/libobjc/configure
   1.392 -@@ -3312,6 +3312,11 @@ linux-gnu*)
   1.393 +--- gcc-4.1.2.orig/libobjc/configure	2007-02-14 06:17:22.000000000 +0100
   1.394 ++++ gcc-4.1.2/libobjc/configure	2007-03-04 23:25:08.000000000 +0100
   1.395 +@@ -3312,6 +3312,11 @@
   1.396     lt_cv_deplibs_check_method=pass_all
   1.397     ;;
   1.398   
   1.399 @@ -480,9 +480,9 @@
   1.400   netbsd* | knetbsd*-gnu)
   1.401     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   1.402       lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
   1.403 ---- gcc-4.1.0/libtool.m4
   1.404 -+++ gcc-4.1.0/libtool.m4
   1.405 -@@ -743,6 +743,11 @@ linux-gnu*)
   1.406 +--- gcc-4.1.2.orig/libtool.m4	2005-07-16 04:30:53.000000000 +0200
   1.407 ++++ gcc-4.1.2/libtool.m4	2007-03-04 23:25:08.000000000 +0100
   1.408 +@@ -743,6 +743,11 @@
   1.409     lt_cv_deplibs_check_method=pass_all
   1.410     ;;
   1.411   
   1.412 @@ -494,9 +494,9 @@
   1.413   netbsd* | knetbsd*-gnu)
   1.414     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   1.415       [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
   1.416 ---- gcc-4.1.0/ltconfig
   1.417 -+++ gcc-4.1.0/ltconfig
   1.418 -@@ -603,6 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
   1.419 +--- gcc-4.1.2.orig/ltconfig	2006-07-04 22:30:34.000000000 +0200
   1.420 ++++ gcc-4.1.2/ltconfig	2007-03-04 23:25:08.000000000 +0100
   1.421 +@@ -603,6 +603,7 @@
   1.422   
   1.423   # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
   1.424   case $host_os in
   1.425 @@ -504,7 +504,7 @@
   1.426   linux-gnu*) ;;
   1.427   linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
   1.428   esac
   1.429 -@@ -1274,6 +1275,23 @@ linux-gnu*)
   1.430 +@@ -1274,6 +1275,23 @@
   1.431     dynamic_linker='GNU/Linux ld.so'
   1.432     ;;
   1.433   
   1.434 @@ -528,9 +528,9 @@
   1.435   netbsd*)
   1.436     need_lib_prefix=no
   1.437     need_version=no
   1.438 ---- gcc-4.1.0/zlib/configure
   1.439 -+++ gcc-4.1.0/zlib/configure
   1.440 -@@ -3426,6 +3426,11 @@ linux-gnu*)
   1.441 +--- gcc-4.1.2.orig/zlib/configure	2005-09-12 19:02:07.000000000 +0200
   1.442 ++++ gcc-4.1.2/zlib/configure	2007-03-04 23:25:08.000000000 +0100
   1.443 +@@ -3426,6 +3426,11 @@
   1.444     lt_cv_deplibs_check_method=pass_all
   1.445     ;;
   1.446