Changeset 6a043e2 for patches


Ignore:
Timestamp:
Aug 27, 2008, 4:51:20 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
ddbac3c
Parents:
5df4d80
Message:

Upgrade to GCC 4.3.1.

Location:
patches
Files:
2 added
2 deleted
5 moved

Legend:

Unmodified
Added
Removed
  • patches/gcc-4.3.1-posix-1.patch

    r5df4d80 r6a043e2  
    1 Submitted By: Jim Gifford (patches at jg555 dot com)
    2 Date: 2007-02-14
     1Submitted By: Joe Ciccone <jciccone@gmail.com>
     2Date: 2008-08-24
    33Initial Package Version: 4.1.2
    44Origin: Jim Gifford
     
    66        Rediffed against 4.1.2 by Jim Gifford
    77        Rediffed and additions against 4.2.0 by Joe Ciccone
     8        Rediffed against 4.3.0 by Joe Ciccone
    89Upstream Status: On Hold
    910Description: Makes GCC Posix Compliant
    1011
    11 diff -Naur gcc-4.2.0.orig/contrib/test_summary gcc-4.2.0/contrib/test_summary
    12 --- gcc-4.2.0.orig/contrib/test_summary 2007-05-16 19:21:35.000000000 -0400
    13 +++ gcc-4.2.0/contrib/test_summary      2007-05-18 16:38:48.000000000 -0400
    14 @@ -106,7 +106,7 @@
     12diff -Naur gcc-4.3.1.orig/contrib/patch_tester.sh gcc-4.3.1/contrib/patch_tester.sh
     13--- gcc-4.3.1.orig/contrib/patch_tester.sh      2007-12-26 16:01:38.000000000 -0500
     14+++ gcc-4.3.1/contrib/patch_tester.sh   2008-08-24 13:37:11.000000000 -0400
     15@@ -287,7 +287,7 @@
     16 
     17     if ! make $dashj `grep "^make:" $PATCH | sed -e "s/^make://g"` bootstrap &> $1/bootstrap ; then
     18        report "bootstrap failed with last lines:"
     19-       tail -30 $1/bootstrap > $1/last_bootstrap
     20+       tail -n 30 $1/bootstrap > $1/last_bootstrap
     21        freport $1/last_bootstrap
     22        report "grep --context=20 Error bootstrap:"
     23        grep --context=20 Error $1/bootstrap > $1/bootstrap_error
     24@@ -420,7 +420,7 @@
     25 # After selfexec, $TESTING is already set up. 
     26 if [ -d $TESTING ]; then
     27     # The only file in $TESTING is the patch.
     28-    PATCH=`ls -rt -1 $TESTING | head -1`
     29+    PATCH=`ls -rt -1 $TESTING | head -n 1`
     30     PATCH=$TESTING/$PATCH
     31     if [ -f $PATCH ]; then
     32        bootntest_patched && bootntest_pristine && compare_passes
     33@@ -429,7 +429,7 @@
     34 fi
     35 
     36 while true; do
     37-    PATCH=`ls -rt -1 $PATCHES | head -1`
     38+    PATCH=`ls -rt -1 $PATCHES | head -n 1`
     39     if [ x$PATCH = x ]; then
     40        sleep ${standby}m
     41     else
     42diff -Naur gcc-4.3.1.orig/contrib/test_summary gcc-4.3.1/contrib/test_summary
     43--- gcc-4.3.1.orig/contrib/test_summary 2007-02-09 19:30:46.000000000 -0500
     44+++ gcc-4.3.1/contrib/test_summary      2008-08-24 13:37:11.000000000 -0400
     45@@ -107,7 +107,7 @@
    1546     srcdir = configflags;
    1647     sub(/\/configure .*/, "", srcdir);
     
    2152 
    2253     sub(/^[^ ]*\/configure */, " ", configflags);
    23 diff -Naur gcc-4.2.0.orig/gcc/configure.ac gcc-4.2.0/gcc/configure.ac
    24 --- gcc-4.2.0.orig/gcc/configure.ac     2007-05-16 19:21:23.000000000 -0400
    25 +++ gcc-4.2.0/gcc/configure.ac  2007-05-18 16:39:21.000000000 -0400
    26 @@ -2227,7 +2227,7 @@
     54diff -Naur gcc-4.3.1.orig/gcc/configure gcc-4.3.1/gcc/configure
     55--- gcc-4.3.1.orig/gcc/configure        2008-05-21 04:54:15.000000000 -0400
     56+++ gcc-4.3.1/gcc/configure     2008-08-24 13:37:38.000000000 -0400
     57@@ -14265,7 +14265,7 @@
    2758   # Therefore, use diff -b for the comparisons.
    2859   if test x$gcc_cv_objdump != x \
     
    3364     || diff -b conftest.big conftest.got > /dev/null 2>&1; }
    3465   then
    35 diff -Naur gcc-4.2.0.orig/gcc/configure gcc-4.2.0/gcc/configure
    36 --- gcc-4.2.0.orig/gcc/configure        2007-05-16 19:21:26.000000000 -0400
    37 +++ gcc-4.2.0/gcc/configure     2007-05-18 16:39:10.000000000 -0400
    38 @@ -14120,7 +14120,7 @@
     66diff -Naur gcc-4.3.1.orig/gcc/configure.ac gcc-4.3.1/gcc/configure.ac
     67--- gcc-4.3.1.orig/gcc/configure.ac     2008-05-21 04:54:15.000000000 -0400
     68+++ gcc-4.3.1/gcc/configure.ac  2008-08-24 13:37:25.000000000 -0400
     69@@ -2226,7 +2226,7 @@
    3970   # Therefore, use diff -b for the comparisons.
    4071   if test x$gcc_cv_objdump != x \
     
    4576     || diff -b conftest.big conftest.got > /dev/null 2>&1; }
    4677   then
    47 diff -Naur gcc-4.2.0.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.2.0/gcc/testsuite/ada/acats/run_all.sh
    48 --- gcc-4.2.0.orig/gcc/testsuite/ada/acats/run_all.sh   2007-05-16 19:21:20.000000000 -0400
    49 +++ gcc-4.2.0/gcc/testsuite/ada/acats/run_all.sh        2007-05-18 16:44:02.000000000 -0400
     78diff -Naur gcc-4.3.1.orig/gcc/gccbug.in gcc-4.3.1/gcc/gccbug.in
     79--- gcc-4.3.1.orig/gcc/gccbug.in        2007-07-26 04:37:01.000000000 -0400
     80+++ gcc-4.3.1/gcc/gccbug.in     2008-08-24 13:37:38.000000000 -0400
     81@@ -31,7 +31,7 @@
     82 
     83 # The default release for this host.
     84 # We have to guess at what program_transform_name might have done.
     85-# "sed 1q" because neither "head -1" nor "head -n 1" is universal, argh.
     86+# "sed 1q" because neither "head -n 1" nor "head -n n 1" is universal, argh.
     87 
     88 DEFAULT_GCC="`echo $0 | sed -e 's/bug//'`"
     89 DEFAULT_RELEASE="`$DEFAULT_GCC --version | sed 1q`"
     90diff -Naur gcc-4.3.1.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.3.1/gcc/testsuite/ada/acats/run_all.sh
     91--- gcc-4.3.1.orig/gcc/testsuite/ada/acats/run_all.sh   2006-09-14 06:12:03.000000000 -0400
     92+++ gcc-4.3.1/gcc/testsuite/ada/acats/run_all.sh        2008-08-24 13:37:18.000000000 -0400
    5093@@ -68,7 +68,7 @@
    5194   ls ${i}?.adb > ${i}.lst 2> /dev/null
     
    57100 
    58101 EXTERNAL_OBJECTS=""
    59 diff -Naur gcc-4.2.0.orig/libgomp/acinclude.m4 gcc-4.2.0/libgomp/acinclude.m4
    60 --- gcc-4.2.0.orig/libgomp/acinclude.m4 2007-05-16 19:21:18.000000000 -0400
    61 +++ gcc-4.2.0/libgomp/acinclude.m4      2007-05-18 16:42:11.000000000 -0400
     102diff -Naur gcc-4.3.1.orig/libgomp/acinclude.m4 gcc-4.3.1/libgomp/acinclude.m4
     103--- gcc-4.3.1.orig/libgomp/acinclude.m4 2007-03-18 07:17:44.000000000 -0400
     104+++ gcc-4.3.1/libgomp/acinclude.m4      2008-08-24 13:37:09.000000000 -0400
    62105@@ -147,7 +147,7 @@
    63106   # Start by getting the version number.  I think the libtool test already
     
    69112   changequote([,])
    70113   libgomp_gnu_ld_version=`echo $ldver | \
    71 diff -Naur gcc-4.2.0.orig/libgomp/configure gcc-4.2.0/libgomp/configure
    72 --- gcc-4.2.0.orig/libgomp/configure    2007-05-16 19:21:19.000000000 -0400
    73 +++ gcc-4.2.0/libgomp/configure 2007-05-18 16:42:19.000000000 -0400
    74 @@ -9314,7 +9314,7 @@
     114diff -Naur gcc-4.3.1.orig/libgomp/configure gcc-4.3.1/libgomp/configure
     115--- gcc-4.3.1.orig/libgomp/configure    2008-01-24 11:23:13.000000000 -0500
     116+++ gcc-4.3.1/libgomp/configure 2008-08-24 13:37:09.000000000 -0400
     117@@ -17600,7 +17600,7 @@
    75118   # Start by getting the version number.  I think the libtool test already
    76119   # does some of this, but throws away the result.
     
    81124 
    82125   libgomp_gnu_ld_version=`echo $ldver | \
    83 diff -Naur gcc-4.2.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.2.0/libjava/classpath/m4/ax_create_stdint_h.m4
    84 --- gcc-4.2.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4   2007-05-16 19:21:35.000000000 -0400
    85 +++ gcc-4.2.0/libjava/classpath/m4/ax_create_stdint_h.m4        2007-05-18 16:43:26.000000000 -0400
     126diff -Naur gcc-4.3.1.orig/libjava/classpath/ChangeLog-2004 gcc-4.3.1/libjava/classpath/ChangeLog-2004
     127--- gcc-4.3.1.orig/libjava/classpath/ChangeLog-2004     2007-01-09 14:58:05.000000000 -0500
     128+++ gcc-4.3.1/libjava/classpath/ChangeLog-2004  2008-08-24 13:37:00.000000000 -0400
     129@@ -8256,7 +8256,7 @@
     130 
     131 2004-08-17  Casey Marshall <csm@gnu.org>
     132 
     133-       * autogen.sh: use `head -n 1' instead of `head -1'.
     134+       * autogen.sh: use `head -n n 1' instead of `head -n 1'.
     135 
     136 2004-08-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
     137 
     138diff -Naur gcc-4.3.1.orig/libjava/classpath/configure gcc-4.3.1/libjava/classpath/configure
     139--- gcc-4.3.1.orig/libjava/classpath/configure  2008-02-29 18:47:54.000000000 -0500
     140+++ gcc-4.3.1/libjava/classpath/configure       2008-08-24 13:37:00.000000000 -0400
     141@@ -29126,7 +29126,7 @@
     142 fi # shortcircut to system "stdint.h"
     143 # ------------------ PREPARE VARIABLES ------------------------------
     144 if test "$GCC" = "yes" ; then
     145-ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
     146+ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1`
     147 else
     148 ac_cv_stdint_message="using $CC"
     149 fi
     150diff -Naur gcc-4.3.1.orig/libjava/classpath/ltcf-c.sh gcc-4.3.1/libjava/classpath/ltcf-c.sh
     151--- gcc-4.3.1.orig/libjava/classpath/ltcf-c.sh  2006-01-17 13:09:40.000000000 -0500
     152+++ gcc-4.3.1/libjava/classpath/ltcf-c.sh       2008-08-24 13:36:57.000000000 -0400
     153@@ -153,7 +153,7 @@
     154     # If the export-symbols file already is a .def file (1st line
     155     # is EXPORTS), use it as is.
     156     # If DATA tags from a recent dlltool are present, honour them!
     157-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
     158+    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
     159         cp $export_symbols $output_objdir/$soname-def;
     160       else
     161         echo EXPORTS > $output_objdir/$soname-def;
     162diff -Naur gcc-4.3.1.orig/libjava/classpath/ltcf-gcj.sh gcc-4.3.1/libjava/classpath/ltcf-gcj.sh
     163--- gcc-4.3.1.orig/libjava/classpath/ltcf-gcj.sh        2005-09-23 17:31:04.000000000 -0400
     164+++ gcc-4.3.1/libjava/classpath/ltcf-gcj.sh     2008-08-24 13:36:55.000000000 -0400
     165@@ -156,7 +156,7 @@
     166     # If the export-symbols file already is a .def file (1st line
     167     # is EXPORTS), use it as is.
     168     # If DATA tags from a recent dlltool are present, honour them!
     169-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
     170+    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
     171         cp $export_symbols $output_objdir/$soname-def;
     172       else
     173         echo EXPORTS > $output_objdir/$soname-def;
     174diff -Naur gcc-4.3.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.3.1/libjava/classpath/m4/ax_create_stdint_h.m4
     175--- gcc-4.3.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4   2007-05-19 16:44:43.000000000 -0400
     176+++ gcc-4.3.1/libjava/classpath/m4/ax_create_stdint_h.m4        2008-08-24 13:36:57.000000000 -0400
    86177@@ -217,7 +217,7 @@
    87178 fi # shortcircut to system "stdint.h"
     
    93184 ac_cv_stdint_message="using $CC"
    94185 fi
    95 diff -Naur gcc-4.2.0.orig/libjava/classpath/configure gcc-4.2.0/libjava/classpath/configure
    96 --- gcc-4.2.0.orig/libjava/classpath/configure  2007-05-16 19:21:35.000000000 -0400
    97 +++ gcc-4.2.0/libjava/classpath/configure       2007-05-18 16:43:09.000000000 -0400
    98 @@ -18514,7 +18514,7 @@
    99  fi # shortcircut to system "stdint.h"
    100  # ------------------ PREPARE VARIABLES ------------------------------
    101  if test "$GCC" = "yes" ; then
    102 -ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
    103 +ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1`
     186diff -Naur gcc-4.3.1.orig/libjava/configure gcc-4.3.1/libjava/configure
     187--- gcc-4.3.1.orig/libjava/configure    2008-06-06 10:49:11.000000000 -0400
     188+++ gcc-4.3.1/libjava/configure 2008-08-24 13:37:03.000000000 -0400
     189@@ -18673,8 +18673,8 @@
     190 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
     191 LD_PROG=`$CC --print-prog-name=ld`
     192 LD_VERSION=`$LD_PROG --version`
     193-LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
     194-LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
     195+LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
     196+LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
     197 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
     198   LD_OK="ok"
    104199 else
    105  ac_cv_stdint_message="using $CC"
    106  fi
    107 diff -Naur gcc-4.2.0.orig/libjava/classpath/ltcf-c.sh gcc-4.2.0/libjava/classpath/ltcf-c.sh
    108 --- gcc-4.2.0.orig/libjava/classpath/ltcf-c.sh  2007-05-16 19:21:31.000000000 -0400
    109 +++ gcc-4.2.0/libjava/classpath/ltcf-c.sh       2007-05-18 16:42:36.000000000 -0400
    110 @@ -153,7 +153,7 @@
    111      # If the export-symbols file already is a .def file (1st line
    112      # is EXPORTS), use it as is.
    113      # If DATA tags from a recent dlltool are present, honour them!
    114 -    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    115 +    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    116          cp $export_symbols $output_objdir/$soname-def;
    117        else
    118          echo EXPORTS > $output_objdir/$soname-def;
    119 diff -Naur gcc-4.2.0.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.0/libjava/classpath/ltcf-gcj.sh
    120 --- gcc-4.2.0.orig/libjava/classpath/ltcf-gcj.sh        2007-05-16 19:21:34.000000000 -0400
    121 +++ gcc-4.2.0/libjava/classpath/ltcf-gcj.sh     2007-05-18 16:42:45.000000000 -0400
    122 @@ -156,7 +156,7 @@
    123      # If the export-symbols file already is a .def file (1st line
    124      # is EXPORTS), use it as is.
    125      # If DATA tags from a recent dlltool are present, honour them!
    126 -    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    127 +    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    128          cp $export_symbols $output_objdir/$soname-def;
    129        else
    130          echo EXPORTS > $output_objdir/$soname-def;
    131 diff -Naur gcc-4.2.0.orig/libjava/mingwld.m4 gcc-4.2.0/libjava/mingwld.m4
    132 --- gcc-4.2.0.orig/libjava/mingwld.m4   2007-05-16 19:21:29.000000000 -0400
    133 +++ gcc-4.2.0/libjava/mingwld.m4        2007-05-18 16:40:06.000000000 -0400
     200diff -Naur gcc-4.3.1.orig/libjava/mingwld.m4 gcc-4.3.1/libjava/mingwld.m4
     201--- gcc-4.3.1.orig/libjava/mingwld.m4   2005-08-22 18:36:35.000000000 -0400
     202+++ gcc-4.3.1/libjava/mingwld.m4        2008-08-24 13:36:52.000000000 -0400
    134203@@ -3,8 +3,8 @@
    135204 AC_MSG_CHECKING(whether 'ld' is at least 2.13)
     
    143212   LD_OK="ok"
    144213 else
    145 diff -Naur gcc-4.2.0.orig/libjava/configure gcc-4.2.0/libjava/configure
    146 --- gcc-4.2.0.orig/libjava/configure    2007-05-16 19:21:29.000000000 -0400
    147 +++ gcc-4.2.0/libjava/configure 2007-05-18 16:39:43.000000000 -0400
    148 @@ -7025,8 +7025,8 @@
    149  echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
    150  LD_PROG=`$CC --print-prog-name=ld`
    151  LD_VERSION=`$LD_PROG --version`
    152 -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
    153 -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
    154 +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
    155 +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
    156  if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
    157    LD_OK="ok"
    158  else
    159 diff -Naur gcc-4.2.0.orig/libstdc++-v3/acinclude.m4 gcc-4.2.0/libstdc++-v3/acinclude.m4
    160 --- gcc-4.2.0.orig/libstdc++-v3/acinclude.m4    2007-05-16 19:21:35.000000000 -0400
    161 +++ gcc-4.2.0/libstdc++-v3/acinclude.m4 2007-05-18 16:40:37.000000000 -0400
     214diff -Naur gcc-4.3.1.orig/libstdc++-v3/acinclude.m4 gcc-4.3.1/libstdc++-v3/acinclude.m4
     215--- gcc-4.3.1.orig/libstdc++-v3/acinclude.m4    2008-04-25 12:52:57.000000000 -0400
     216+++ gcc-4.3.1/libstdc++-v3/acinclude.m4 2008-08-24 13:37:07.000000000 -0400
    162217@@ -234,7 +234,7 @@
    163218   if test x"$with_gnu_ld" = x"yes"; then
     
    169224     changequote([,])
    170225     glibcxx_gnu_ld_version=`echo $ldver | \
    171 diff -Naur gcc-4.2.0.orig/libstdc++-v3/configure gcc-4.2.0/libstdc++-v3/configure
    172 --- gcc-4.2.0.orig/libstdc++-v3/configure       2007-05-16 19:21:36.000000000 -0400
    173 +++ gcc-4.2.0/libstdc++-v3/configure    2007-05-18 16:41:04.000000000 -0400
    174 @@ -8377,7 +8377,7 @@
    175      echo "$as_me:$LINENO: checking for ld version" >&5
    176  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    177  
    178 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    179 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    180             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    181  
    182      glibcxx_gnu_ld_version=`echo $ldver | \
    183 @@ -54289,7 +54289,7 @@
    184      echo "$as_me:$LINENO: checking for ld version" >&5
    185  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    186  
    187 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    188 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    189             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    190  
    191      glibcxx_gnu_ld_version=`echo $ldver | \
    192 @@ -75651,7 +75651,7 @@
    193      echo "$as_me:$LINENO: checking for ld version" >&5
    194  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    195  
    196 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    197 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    198             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    199  
    200      glibcxx_gnu_ld_version=`echo $ldver | \
    201 @@ -77176,7 +77176,7 @@
    202      echo "$as_me:$LINENO: checking for ld version" >&5
    203  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    204  
    205 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    206 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    207             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    208  
    209      glibcxx_gnu_ld_version=`echo $ldver | \
    210 @@ -78669,7 +78669,7 @@
    211      echo "$as_me:$LINENO: checking for ld version" >&5
    212  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    213  
    214 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    215 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    216             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    217  
    218      glibcxx_gnu_ld_version=`echo $ldver | \
    219 @@ -100561,7 +100561,7 @@
    220      echo "$as_me:$LINENO: checking for ld version" >&5
    221  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    222  
    223 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    224 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    225             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    226  
    227      glibcxx_gnu_ld_version=`echo $ldver | \
    228 @@ -101408,7 +101408,7 @@
    229      echo "$as_me:$LINENO: checking for ld version" >&5
    230  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    231  
    232 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    233 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    234             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    235  
    236      glibcxx_gnu_ld_version=`echo $ldver | \
    237 @@ -102811,7 +102811,7 @@
    238      echo "$as_me:$LINENO: checking for ld version" >&5
    239  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    240  
    241 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    242 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    243             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    244  
    245      glibcxx_gnu_ld_version=`echo $ldver | \
    246 @@ -104606,7 +104606,7 @@
    247      echo "$as_me:$LINENO: checking for ld version" >&5
    248  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    249  
    250 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    251 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    252             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    253  
    254      glibcxx_gnu_ld_version=`echo $ldver | \
    255 @@ -105851,7 +105851,7 @@
    256      echo "$as_me:$LINENO: checking for ld version" >&5
    257  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    258  
    259 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    260 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    261             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    262  
    263      glibcxx_gnu_ld_version=`echo $ldver | \
    264 @@ -106880,7 +106880,7 @@
    265      echo "$as_me:$LINENO: checking for ld version" >&5
    266  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    267  
    268 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    269 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    270             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    271  
    272      glibcxx_gnu_ld_version=`echo $ldver | \
    273 diff -Naur gcc-4.2.0.orig/ltcf-c.sh gcc-4.2.0/ltcf-c.sh
    274 --- gcc-4.2.0.orig/ltcf-c.sh    2007-05-16 19:21:19.000000000 -0400
    275 +++ gcc-4.2.0/ltcf-c.sh 2007-05-18 16:41:18.000000000 -0400
    276 @@ -153,7 +153,7 @@
    277      # If the export-symbols file already is a .def file (1st line
    278      # is EXPORTS), use it as is.
    279      # If DATA tags from a recent dlltool are present, honour them!
    280 -    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    281 +    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    282          cp $export_symbols $output_objdir/$soname-def;
    283        else
    284          echo EXPORTS > $output_objdir/$soname-def;
    285 diff -Naur gcc-4.2.0.orig/ltcf-gcj.sh gcc-4.2.0/ltcf-gcj.sh
    286 --- gcc-4.2.0.orig/ltcf-gcj.sh  2007-05-16 19:21:35.000000000 -0400
    287 +++ gcc-4.2.0/ltcf-gcj.sh       2007-05-18 16:41:29.000000000 -0400
    288 @@ -156,7 +156,7 @@
    289      # If the export-symbols file already is a .def file (1st line
    290      # is EXPORTS), use it as is.
    291      # If DATA tags from a recent dlltool are present, honour them!
    292 -    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    293 +    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    294          cp $export_symbols $output_objdir/$soname-def;
    295        else
    296          echo EXPORTS > $output_objdir/$soname-def;
     226diff -Naur gcc-4.3.1.orig/libstdc++-v3/configure gcc-4.3.1/libstdc++-v3/configure
     227--- gcc-4.3.1.orig/libstdc++-v3/configure       2008-04-25 12:52:57.000000000 -0400
     228+++ gcc-4.3.1/libstdc++-v3/configure    2008-08-24 13:37:09.000000000 -0400
     229@@ -17488,7 +17488,7 @@
     230     echo "$as_me:$LINENO: checking for ld version" >&5
     231 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     232 
     233-    ldver=`$LD --version 2>/dev/null | head -1 | \
     234+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     235            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     236 
     237     glibcxx_gnu_ld_version=`echo $ldver | \
     238@@ -42213,7 +42213,7 @@
     239     echo "$as_me:$LINENO: checking for ld version" >&5
     240 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     241 
     242-    ldver=`$LD --version 2>/dev/null | head -1 | \
     243+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     244            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     245 
     246     glibcxx_gnu_ld_version=`echo $ldver | \
     247@@ -84604,7 +84604,7 @@
     248     echo "$as_me:$LINENO: checking for ld version" >&5
     249 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     250 
     251-    ldver=`$LD --version 2>/dev/null | head -1 | \
     252+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     253            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     254 
     255     glibcxx_gnu_ld_version=`echo $ldver | \
     256@@ -85620,7 +85620,7 @@
     257     echo "$as_me:$LINENO: checking for ld version" >&5
     258 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     259 
     260-    ldver=`$LD --version 2>/dev/null | head -1 | \
     261+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     262            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     263 
     264     glibcxx_gnu_ld_version=`echo $ldver | \
     265@@ -86608,7 +86608,7 @@
     266     echo "$as_me:$LINENO: checking for ld version" >&5
     267 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     268 
     269-    ldver=`$LD --version 2>/dev/null | head -1 | \
     270+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     271            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     272 
     273     glibcxx_gnu_ld_version=`echo $ldver | \
     274@@ -109087,7 +109087,7 @@
     275     echo "$as_me:$LINENO: checking for ld version" >&5
     276 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     277 
     278-    ldver=`$LD --version 2>/dev/null | head -1 | \
     279+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     280            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     281 
     282     glibcxx_gnu_ld_version=`echo $ldver | \
     283@@ -109932,7 +109932,7 @@
     284     echo "$as_me:$LINENO: checking for ld version" >&5
     285 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     286 
     287-    ldver=`$LD --version 2>/dev/null | head -1 | \
     288+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     289            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     290 
     291     glibcxx_gnu_ld_version=`echo $ldver | \
     292@@ -110826,7 +110826,7 @@
     293     echo "$as_me:$LINENO: checking for ld version" >&5
     294 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     295 
     296-    ldver=`$LD --version 2>/dev/null | head -1 | \
     297+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     298            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     299 
     300     glibcxx_gnu_ld_version=`echo $ldver | \
     301@@ -112112,7 +112112,7 @@
     302     echo "$as_me:$LINENO: checking for ld version" >&5
     303 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     304 
     305-    ldver=`$LD --version 2>/dev/null | head -1 | \
     306+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     307            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     308 
     309     glibcxx_gnu_ld_version=`echo $ldver | \
     310@@ -112848,7 +112848,7 @@
     311     echo "$as_me:$LINENO: checking for ld version" >&5
     312 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     313 
     314-    ldver=`$LD --version 2>/dev/null | head -1 | \
     315+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     316            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     317 
     318     glibcxx_gnu_ld_version=`echo $ldver | \
     319@@ -113349,7 +113349,7 @@
     320     echo "$as_me:$LINENO: checking for ld version" >&5
     321 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     322 
     323-    ldver=`$LD --version 2>/dev/null | head -1 | \
     324+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     325            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     326 
     327     glibcxx_gnu_ld_version=`echo $ldver | \
  • patches/gcc-4.3.1-pure64-1.patch

    r5df4d80 r6a043e2  
    1 Submitted By: Jim Gifford (patches at jg555 dot com)
    2 Date: 2005-08-27
    3 Initial Package Version: 4.x
    4 Origin: Ken Moffat and Jim Gifford
    5         Rediffed against 4.1.0 by Chris Staub
    6         Changes for 4.2.{0,1,2} not noted
    7         Rediffed against 4.2.4 and header reinstated by Ken Moffat
    8 Upstream Status: CLFS Specific
    9 Description: Make LIB64 builds in /lib instead of /lib64
    10 
    11 diff -Naur gcc-4.2.4.orig/gcc/config/i386/linux64.h gcc-4.2.4/gcc/config/i386/linux64.h
    12 --- gcc-4.2.4.orig/gcc/config/i386/linux64.h    2007-09-01 16:28:30.000000000 +0100
    13 +++ gcc-4.2.4/gcc/config/i386/linux64.h 2008-06-12 19:55:27.000000000 +0100
    14 @@ -48,8 +48,8 @@
     1diff -Naur gcc-4.3.1.orig/gcc/config/i386/linux64.h gcc-4.3.1/gcc/config/i386/linux64.h
     2--- gcc-4.3.1.orig/gcc/config/i386/linux64.h    2007-08-02 06:49:31.000000000 -0400
     3+++ gcc-4.3.1/gcc/config/i386/linux64.h 2008-08-24 13:43:19.000000000 -0400
     4@@ -53,8 +53,8 @@
    155    When the -shared link option is used a final link is not being
    166    done.  */
     
    2111+#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
    2212 
    23  #undef LINK_SPEC
    24  #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \
    25 diff -Naur gcc-4.2.4.orig/gcc/config/i386/t-linux64 gcc-4.2.4/gcc/config/i386/t-linux64
    26 --- gcc-4.2.4.orig/gcc/config/i386/t-linux64    2008-03-05 17:25:28.000000000 +0000
    27 +++ gcc-4.2.4/gcc/config/i386/t-linux64 2008-06-12 20:05:44.000000000 +0100
     13 #if TARGET_64BIT_DEFAULT
     14 #define SPEC_32 "m32"
     15diff -Naur gcc-4.3.1.orig/gcc/config/i386/t-linux64 gcc-4.3.1/gcc/config/i386/t-linux64
     16--- gcc-4.3.1.orig/gcc/config/i386/t-linux64    2007-09-27 15:56:06.000000000 -0400
     17+++ gcc-4.3.1/gcc/config/i386/t-linux64 2008-08-24 13:43:19.000000000 -0400
    2818@@ -13,7 +13,7 @@
    2919 
     
    3525 LIBGCC = stmp-multilib
    3626 INSTALL_LIBGCC = install-multilib
    37 diff -Naur gcc-4.2.4.orig/gcc/config/mips/linux64.h gcc-4.2.4/gcc/config/mips/linux64.h
    38 --- gcc-4.2.4.orig/gcc/config/mips/linux64.h    2007-09-01 16:28:30.000000000 +0100
    39 +++ gcc-4.2.4/gcc/config/mips/linux64.h 2008-06-12 19:55:27.000000000 +0100
    40 @@ -35,10 +35,10 @@
    41  %{!shared: %{pthread:-lpthread} \
    42    %{profile:-lc_p} %{!profile: -lc}}"
     27diff -Naur gcc-4.3.1.orig/gcc/config/mips/linux64.h gcc-4.3.1/gcc/config/mips/linux64.h
     28--- gcc-4.3.1.orig/gcc/config/mips/linux64.h    2007-08-02 06:49:31.000000000 -0400
     29+++ gcc-4.3.1/gcc/config/mips/linux64.h 2008-08-24 13:43:19.000000000 -0400
     30@@ -38,10 +38,10 @@
     31 %{!shared: \
     32   %{profile:-lc_p} %{!profile:-lc}}"
    4333 
    4434-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
     
    5343   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
    5444 
    55 diff -Naur gcc-4.2.4.orig/gcc/config/mips/t-linux64 gcc-4.2.4/gcc/config/mips/t-linux64
    56 --- gcc-4.2.4.orig/gcc/config/mips/t-linux64    2006-06-06 13:51:24.000000000 +0100
    57 +++ gcc-4.2.4/gcc/config/mips/t-linux64 2008-06-12 19:55:27.000000000 +0100
     45diff -Naur gcc-4.3.1.orig/gcc/config/mips/t-linux64 gcc-4.3.1/gcc/config/mips/t-linux64
     46--- gcc-4.3.1.orig/gcc/config/mips/t-linux64    2006-06-06 08:51:24.000000000 -0400
     47+++ gcc-4.3.1/gcc/config/mips/t-linux64 2008-08-24 13:43:19.000000000 -0400
    5848@@ -1,6 +1,6 @@
    5949 MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
     
    6454 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
    6555 
    66 diff -Naur gcc-4.2.4.orig/gcc/config/rs6000/linux64.h gcc-4.2.4/gcc/config/rs6000/linux64.h
    67 --- gcc-4.2.4.orig/gcc/config/rs6000/linux64.h  2007-09-01 16:28:30.000000000 +0100
    68 +++ gcc-4.2.4/gcc/config/rs6000/linux64.h       2008-06-12 19:55:27.000000000 +0100
    69 @@ -335,8 +335,8 @@
     56diff -Naur gcc-4.3.1.orig/gcc/config/rs6000/linux64.h gcc-4.3.1/gcc/config/rs6000/linux64.h
     57--- gcc-4.3.1.orig/gcc/config/rs6000/linux64.h  2007-08-02 06:49:31.000000000 -0400
     58+++ gcc-4.3.1/gcc/config/rs6000/linux64.h       2008-08-24 13:43:19.000000000 -0400
     59@@ -339,8 +339,8 @@
    7060 #undef LINK_OS_DEFAULT_SPEC
    7161 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
     
    7868 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
    7969 #if UCLIBC_DEFAULT
    80 diff -Naur gcc-4.2.4.orig/gcc/config/rs6000/t-linux64 gcc-4.2.4/gcc/config/rs6000/t-linux64
    81 --- gcc-4.2.4.orig/gcc/config/rs6000/t-linux64  2008-03-05 17:25:28.000000000 +0000
    82 +++ gcc-4.2.4/gcc/config/rs6000/t-linux64       2008-06-12 20:13:59.000000000 +0100
     70diff -Naur gcc-4.3.1.orig/gcc/config/rs6000/t-linux64 gcc-4.3.1/gcc/config/rs6000/t-linux64
     71--- gcc-4.3.1.orig/gcc/config/rs6000/t-linux64  2007-09-27 15:56:06.000000000 -0400
     72+++ gcc-4.3.1/gcc/config/rs6000/t-linux64       2008-08-24 13:43:19.000000000 -0400
    8373@@ -19,7 +19,7 @@
    8474 MULTILIB_EXTRA_OPTS     = fPIC mstrict-align
     
    9080 
    9181 softfp_wrap_start := '\#ifndef __powerpc64__'
    92 diff -Naur gcc-4.2.4.orig/gcc/config/s390/t-linux64 gcc-4.2.4/gcc/config/s390/t-linux64
    93 --- gcc-4.2.4.orig/gcc/config/s390/t-linux64    2006-02-06 17:41:54.000000000 +0000
    94 +++ gcc-4.2.4/gcc/config/s390/t-linux64 2008-06-12 19:55:27.000000000 +0100
     82diff -Naur gcc-4.3.1.orig/gcc/config/s390/t-linux64 gcc-4.3.1/gcc/config/s390/t-linux64
     83--- gcc-4.3.1.orig/gcc/config/s390/t-linux64    2006-02-06 12:41:54.000000000 -0500
     84+++ gcc-4.3.1/gcc/config/s390/t-linux64 2008-08-24 13:43:19.000000000 -0400
    9585@@ -1,6 +1,6 @@
    9686 MULTILIB_OPTIONS = m64/m31
     
    10191 LIBGCC = stmp-multilib
    10292 INSTALL_LIBGCC = install-multilib
    103 diff -Naur gcc-4.2.4.orig/gcc/config/sparc/linux64.h gcc-4.2.4/gcc/config/sparc/linux64.h
    104 --- gcc-4.2.4.orig/gcc/config/sparc/linux64.h   2007-09-01 16:28:30.000000000 +0100
    105 +++ gcc-4.2.4/gcc/config/sparc/linux64.h        2008-06-12 19:55:27.000000000 +0100
    106 @@ -143,8 +143,8 @@
     93diff -Naur gcc-4.3.1.orig/gcc/config/sparc/linux64.h gcc-4.3.1/gcc/config/sparc/linux64.h
     94--- gcc-4.3.1.orig/gcc/config/sparc/linux64.h   2007-10-19 00:29:38.000000000 -0400
     95+++ gcc-4.3.1/gcc/config/sparc/linux64.h        2008-08-24 13:43:19.000000000 -0400
     96@@ -144,8 +144,8 @@
    10797 
    10898 /* If ELF is the default format, we should not use /lib/elf.  */
     
    115105 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
    116106 #if UCLIBC_DEFAULT
    117 @@ -166,7 +166,7 @@
     107@@ -167,7 +167,7 @@
    118108   { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },       \
    119109   { "link_arch",        LINK_ARCH_SPEC },
     
    124114     %{!ibcs: \
    125115       %{!static: \
    126 @@ -175,7 +175,7 @@
     116@@ -176,7 +176,7 @@
    127117         %{static:-static}}} \
    128118 "
     
    133123     %{!ibcs: \
    134124       %{!static: \
    135 @@ -256,7 +256,7 @@
     125@@ -257,7 +257,7 @@
    136126 #else /* !SPARC_BI_ARCH */
    137127 
     
    142132     %{!ibcs: \
    143133       %{!static: \
    144 diff -Naur gcc-4.2.4.orig/gcc/config/sparc/linux.h gcc-4.2.4/gcc/config/sparc/linux.h
    145 --- gcc-4.2.4.orig/gcc/config/sparc/linux.h     2007-09-01 16:28:30.000000000 +0100
    146 +++ gcc-4.2.4/gcc/config/sparc/linux.h  2008-06-12 19:55:27.000000000 +0100
     134diff -Naur gcc-4.3.1.orig/gcc/config/sparc/linux.h gcc-4.3.1/gcc/config/sparc/linux.h
     135--- gcc-4.3.1.orig/gcc/config/sparc/linux.h     2007-08-02 06:49:31.000000000 -0400
     136+++ gcc-4.3.1/gcc/config/sparc/linux.h  2008-08-24 13:43:19.000000000 -0400
    147137@@ -132,7 +132,7 @@
    148138 
     
    154144   %{!shared: \
    155145     %{!ibcs: \
    156 diff -Naur gcc-4.2.4.orig/gcc/config/sparc/t-linux64 gcc-4.2.4/gcc/config/sparc/t-linux64
    157 --- gcc-4.2.4.orig/gcc/config/sparc/t-linux64   2006-02-08 07:19:43.000000000 +0000
    158 +++ gcc-4.2.4/gcc/config/sparc/t-linux64        2008-06-12 19:55:27.000000000 +0100
     146diff -Naur gcc-4.3.1.orig/gcc/config/sparc/t-linux64 gcc-4.3.1/gcc/config/sparc/t-linux64
     147--- gcc-4.3.1.orig/gcc/config/sparc/t-linux64   2006-02-08 02:19:43.000000000 -0500
     148+++ gcc-4.3.1/gcc/config/sparc/t-linux64        2008-08-24 13:43:19.000000000 -0400
    159149@@ -1,6 +1,6 @@
    160150 MULTILIB_OPTIONS = m64/m32
  • patches/gcc-4.3.1-pure64_specs-1.patch

    r5df4d80 r6a043e2  
    1 Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes)
    2 Date: 2007-02-14
     1Submitted By: Joe Ciccone <jciccone@gmail.com>
     2Date: 2008-08-24
    33Initial Package Version: 4.1.2
    44Upstream Status: Not Sent - LFS Specific
     
    1111        Rediffed against gcc 4.1.2 by Jim Gifford
    1212        Rediffed against gcc 4.2.0 by Joe Ciccone
     13        Rediffed against gcc 4.3.1 by Joe Ciccone
    1314Description: This patch modifies the location of the dynamic linker for
    1415        the GCC Pass 2 build in LFS Chapter 5.
    1516
    16 diff -Naur gcc-4.2.0.orig/gcc/config/alpha/gnu.h gcc-4.2.0/gcc/config/alpha/gnu.h
    17 --- gcc-4.2.0.orig/gcc/config/alpha/gnu.h       2007-05-16 19:21:19.000000000 -0400
    18 +++ gcc-4.2.0/gcc/config/alpha/gnu.h    2007-05-18 16:27:10.000000000 -0400
     17diff -Naur gcc-4.3.1.orig/gcc/config/alpha/gnu.h gcc-4.3.1/gcc/config/alpha/gnu.h
     18--- gcc-4.3.1.orig/gcc/config/alpha/gnu.h       2004-09-07 20:17:19.000000000 -0400
     19+++ gcc-4.3.1/gcc/config/alpha/gnu.h    2008-08-24 13:51:46.000000000 -0400
    1920@@ -11,7 +11,7 @@
    2021     } while (0)
     
    2627 #undef STARTFILE_SPEC
    2728 #define STARTFILE_SPEC \
    28 diff -Naur gcc-4.2.0.orig/gcc/config/alpha/linux-elf.h gcc-4.2.0/gcc/config/alpha/linux-elf.h
    29 --- gcc-4.2.0.orig/gcc/config/alpha/linux-elf.h 2007-05-16 19:21:19.000000000 -0400
    30 +++ gcc-4.2.0/gcc/config/alpha/linux-elf.h      2007-05-18 16:23:31.000000000 -0400
    31 @@ -28,8 +28,8 @@
    32  #define SUBTARGET_EXTRA_SPECS \
     29diff -Naur gcc-4.3.1.orig/gcc/config/alpha/linux-elf.h gcc-4.3.1/gcc/config/alpha/linux-elf.h
     30--- gcc-4.3.1.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -0400
     31+++ gcc-4.3.1/gcc/config/alpha/linux-elf.h      2008-08-24 13:51:46.000000000 -0400
     32@@ -27,8 +27,8 @@
     33 #define EXTRA_SPECS \
    3334 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
    3435 
     
    4041 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    4142 #else
    42 diff -Naur gcc-4.2.0.orig/gcc/config/arm/linux-eabi.h gcc-4.2.0/gcc/config/arm/linux-eabi.h
    43 --- gcc-4.2.0.orig/gcc/config/arm/linux-eabi.h  2007-05-16 19:21:19.000000000 -0400
    44 +++ gcc-4.2.0/gcc/config/arm/linux-eabi.h       2007-05-18 16:26:45.000000000 -0400
    45 @@ -53,7 +53,7 @@
     43diff -Naur gcc-4.3.1.orig/gcc/config/arm/linux-eabi.h gcc-4.3.1/gcc/config/arm/linux-eabi.h
     44--- gcc-4.3.1.orig/gcc/config/arm/linux-eabi.h  2007-11-08 08:44:09.000000000 -0500
     45+++ gcc-4.3.1/gcc/config/arm/linux-eabi.h       2008-08-24 13:52:56.000000000 -0400
     46@@ -61,7 +61,7 @@
    4647 /* Use ld-linux.so.3 so that it will be possible to run "classic"
    4748    GNU/Linux binaries on an EABI system.  */
    48  #undef GLIBC_DYNAMIC_LINKER
     49 #undef  GLIBC_DYNAMIC_LINKER
    4950-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3"
    5051+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.3"
     
    5253 /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
    5354    use the GNU/Linux version, not the generic BPABI version.  */
    54 diff -Naur gcc-4.2.0.orig/gcc/config/arm/linux-elf.h gcc-4.2.0/gcc/config/arm/linux-elf.h
    55 --- gcc-4.2.0.orig/gcc/config/arm/linux-elf.h   2007-05-16 19:21:19.000000000 -0400
    56 +++ gcc-4.2.0/gcc/config/arm/linux-elf.h        2007-05-18 16:23:31.000000000 -0400
    57 @@ -51,7 +51,7 @@
     55diff -Naur gcc-4.3.1.orig/gcc/config/arm/linux-elf.h gcc-4.3.1/gcc/config/arm/linux-elf.h
     56--- gcc-4.3.1.orig/gcc/config/arm/linux-elf.h   2007-11-08 08:44:09.000000000 -0500
     57+++ gcc-4.3.1/gcc/config/arm/linux-elf.h        2008-08-24 13:51:46.000000000 -0400
     58@@ -62,7 +62,7 @@
    5859 
    5960 #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
     
    6465 #define LINUX_TARGET_LINK_SPEC  "%{h*} %{version:-v} \
    6566    %{b} \
    66 diff -Naur gcc-4.2.0.orig/gcc/config/cris/linux.h gcc-4.2.0/gcc/config/cris/linux.h
    67 --- gcc-4.2.0.orig/gcc/config/cris/linux.h      2007-05-16 19:21:19.000000000 -0400
    68 +++ gcc-4.2.0/gcc/config/cris/linux.h   2007-05-18 16:30:54.000000000 -0400
    69 @@ -76,7 +76,7 @@
    70  #undef CRIS_SUBTARGET_VERSION
    71  #define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
     67diff -Naur gcc-4.3.1.orig/gcc/config/cris/linux.h gcc-4.3.1/gcc/config/cris/linux.h
     68--- gcc-4.3.1.orig/gcc/config/cris/linux.h      2008-01-23 12:17:58.000000000 -0500
     69+++ gcc-4.3.1/gcc/config/cris/linux.h   2008-08-24 13:51:46.000000000 -0400
     70@@ -102,7 +102,7 @@
     71 #undef CRIS_DEFAULT_CPU_VERSION
     72 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
    7273 
    7374-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
     
    7677 /* We need an -rpath-link to ld.so.1, and presumably to each directory
    7778    specified with -B.  */
    78 dff -Naur gcc-4.2.0.orig/gcc/config/frv/linux.h gcc-4.2.0/gcc/config/frv/linux.h
    79 --- gcc-4.2.0.orig/gcc/config/frv/linux.h       2007-05-16 19:21:19.000000000 -0400
    80 +++ gcc-4.2.0/gcc/config/frv/linux.h    2007-05-18 16:23:31.000000000 -0400
    81 @@ -36,7 +36,7 @@
     79diff -Naur gcc-4.3.1.orig/gcc/config/frv/linux.h gcc-4.3.1/gcc/config/frv/linux.h
     80--- gcc-4.3.1.orig/gcc/config/frv/linux.h       2007-08-02 06:49:31.000000000 -0400
     81+++ gcc-4.3.1/gcc/config/frv/linux.h    2008-08-24 13:51:46.000000000 -0400
     82@@ -35,7 +35,7 @@
    8283 #define ENDFILE_SPEC \
    8384   "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
     
    8889 #undef LINK_SPEC
    8990 #define LINK_SPEC "\
    90 diff -Naur gcc-4.2.0.orig/gcc/config/i386/gnu.h gcc-4.2.0/gcc/config/i386/gnu.h
    91 --- gcc-4.2.0.orig/gcc/config/i386/gnu.h        2007-05-16 19:21:19.000000000 -0400
    92 +++ gcc-4.2.0/gcc/config/i386/gnu.h     2007-05-18 16:23:31.000000000 -0400
     91diff -Naur gcc-4.3.1.orig/gcc/config/i386/gnu.h gcc-4.3.1/gcc/config/i386/gnu.h
     92--- gcc-4.3.1.orig/gcc/config/i386/gnu.h        2007-08-08 02:35:17.000000000 -0400
     93+++ gcc-4.3.1/gcc/config/i386/gnu.h     2008-08-24 13:51:46.000000000 -0400
    9394@@ -22,7 +22,7 @@
    9495   %{!shared: \
     
    100101 
    101102 #undef STARTFILE_SPEC
    102 diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h
    103 --- gcc-4.2.0.orig/gcc/config/i386/linux64.h    2007-05-16 19:21:19.000000000 -0400
    104 +++ gcc-4.2.0/gcc/config/i386/linux64.h 2007-05-18 16:23:31.000000000 -0400
    105 @@ -49,8 +49,8 @@
     103diff -Naur gcc-4.3.1.orig/gcc/config/i386/linux64.h gcc-4.3.1/gcc/config/i386/linux64.h
     104--- gcc-4.3.1.orig/gcc/config/i386/linux64.h    2007-08-02 06:49:31.000000000 -0400
     105+++ gcc-4.3.1/gcc/config/i386/linux64.h 2008-08-24 13:51:46.000000000 -0400
     106@@ -53,8 +53,8 @@
    106107    When the -shared link option is used a final link is not being
    107108    done.  */
     
    112113+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-linux-x86-64.so.2"
    113114 
    114  #undef LINK_SPEC
    115  #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \
    116 diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux.h gcc-4.2.0/gcc/config/i386/linux.h
    117 --- gcc-4.2.0.orig/gcc/config/i386/linux.h      2007-05-16 19:21:19.000000000 -0400
    118 +++ gcc-4.2.0/gcc/config/i386/linux.h   2007-05-18 16:23:31.000000000 -0400
    119 @@ -101,7 +101,7 @@
     115 #if TARGET_64BIT_DEFAULT
     116 #define SPEC_32 "m32"
     117diff -Naur gcc-4.3.1.orig/gcc/config/i386/linux.h gcc-4.3.1/gcc/config/i386/linux.h
     118--- gcc-4.3.1.orig/gcc/config/i386/linux.h      2007-11-27 20:04:27.000000000 -0500
     119+++ gcc-4.3.1/gcc/config/i386/linux.h   2008-08-24 13:51:46.000000000 -0400
     120@@ -100,7 +100,7 @@
    120121 
    121122 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
     
    126127 #undef  SUBTARGET_EXTRA_SPECS
    127128 #define SUBTARGET_EXTRA_SPECS \
    128 diff -Naur gcc-4.2.0.orig/gcc/config/ia64/linux.h gcc-4.2.0/gcc/config/ia64/linux.h
    129 --- gcc-4.2.0.orig/gcc/config/ia64/linux.h      2007-05-16 19:21:19.000000000 -0400
    130 +++ gcc-4.2.0/gcc/config/ia64/linux.h   2007-05-18 16:23:31.000000000 -0400
     129diff -Naur gcc-4.3.1.orig/gcc/config/ia64/linux.h gcc-4.3.1/gcc/config/ia64/linux.h
     130--- gcc-4.3.1.orig/gcc/config/ia64/linux.h      2006-12-12 10:15:19.000000000 -0500
     131+++ gcc-4.3.1/gcc/config/ia64/linux.h   2008-08-24 13:51:46.000000000 -0400
    131132@@ -37,7 +37,7 @@
    132133 /* Define this for shared library support because it isn't in the main
     
    138139 #undef LINK_SPEC
    139140 #define LINK_SPEC "\
    140 diff -Naur gcc-4.2.0.orig/gcc/config/linux.h gcc-4.2.0/gcc/config/linux.h
    141 --- gcc-4.2.0.orig/gcc/config/linux.h   2007-05-16 19:21:19.000000000 -0400
    142 +++ gcc-4.2.0/gcc/config/linux.h        2007-05-18 16:23:31.000000000 -0400
     141diff -Naur gcc-4.3.1.orig/gcc/config/linux.h gcc-4.3.1/gcc/config/linux.h
     142--- gcc-4.3.1.orig/gcc/config/linux.h   2007-08-02 06:49:31.000000000 -0400
     143+++ gcc-4.3.1/gcc/config/linux.h        2008-08-24 13:51:46.000000000 -0400
    143144@@ -112,9 +112,9 @@
    144145    GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
     
    154155   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
    155156 #define LINUX_DYNAMIC_LINKER32 \
    156 @@ -127,3 +127,7 @@
    157  #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
     157@@ -130,3 +130,7 @@
     158 #define TARGET_HAS_SINCOS (OPTION_GLIBC)
    158159 
    159160 #define TARGET_POSIX_IO
     
    162163+#undef STANDARD_INCLUDE_DIR
    163164+#define STANDARD_INCLUDE_DIR 0
    164 diff -Naur gcc-4.2.0.orig/gcc/config/m32r/linux.h gcc-4.2.0/gcc/config/m32r/linux.h
    165 --- gcc-4.2.0.orig/gcc/config/m32r/linux.h      2007-05-16 19:21:19.000000000 -0400
    166 +++ gcc-4.2.0/gcc/config/m32r/linux.h   2007-05-18 16:23:31.000000000 -0400
    167 @@ -59,7 +59,7 @@
     165diff -Naur gcc-4.3.1.orig/gcc/config/m32r/linux.h gcc-4.3.1/gcc/config/m32r/linux.h
     166--- gcc-4.3.1.orig/gcc/config/m32r/linux.h      2007-08-02 06:49:31.000000000 -0400
     167+++ gcc-4.3.1/gcc/config/m32r/linux.h   2008-08-24 13:51:46.000000000 -0400
     168@@ -58,7 +58,7 @@
    168169 
    169170 /* If ELF is the default format, we should not use /lib/elf.  */
     
    174175 #undef LINK_SPEC
    175176 #if TARGET_LITTLE_ENDIAN
    176 diff -Naur gcc-4.2.0.orig/gcc/config/m68k/linux.h gcc-4.2.0/gcc/config/m68k/linux.h
    177 --- gcc-4.2.0.orig/gcc/config/m68k/linux.h      2007-05-16 19:21:19.000000000 -0400
    178 +++ gcc-4.2.0/gcc/config/m68k/linux.h   2007-05-18 16:23:31.000000000 -0400
    179 @@ -123,7 +123,7 @@
     177diff -Naur gcc-4.3.1.orig/gcc/config/m68k/linux.h gcc-4.3.1/gcc/config/m68k/linux.h
     178--- gcc-4.3.1.orig/gcc/config/m68k/linux.h      2007-09-24 17:07:08.000000000 -0400
     179+++ gcc-4.3.1/gcc/config/m68k/linux.h   2008-08-24 13:51:46.000000000 -0400
     180@@ -84,7 +84,7 @@
    180181 
    181182 /* If ELF is the default format, we should not use /lib/elf.  */
     
    184185+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    185186 
    186  #undef LINK_SPEC
     187 #undef LINK_SPEC
    187188 #define LINK_SPEC "-m m68kelf %{shared} \
    188 diff -Naur gcc-4.2.0.orig/gcc/config/mips/linux64.h gcc-4.2.0/gcc/config/mips/linux64.h
    189 --- gcc-4.2.0.orig/gcc/config/mips/linux64.h    2007-05-16 19:21:19.000000000 -0400
    190 +++ gcc-4.2.0/gcc/config/mips/linux64.h 2007-05-18 16:23:31.000000000 -0400
    191 @@ -36,10 +36,10 @@
    192  %{!shared: %{pthread:-lpthread} \
    193    %{profile:-lc_p} %{!profile: -lc}}"
     189diff -Naur gcc-4.3.1.orig/gcc/config/mips/linux64.h gcc-4.3.1/gcc/config/mips/linux64.h
     190--- gcc-4.3.1.orig/gcc/config/mips/linux64.h    2007-08-02 06:49:31.000000000 -0400
     191+++ gcc-4.3.1/gcc/config/mips/linux64.h 2008-08-24 13:51:46.000000000 -0400
     192@@ -38,10 +38,10 @@
     193 %{!shared: \
     194   %{profile:-lc_p} %{!profile:-lc}}"
    194195 
    195196-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
     
    204205   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
    205206 
    206 diff -Naur gcc-4.2.0.orig/gcc/config/mips/linux.h gcc-4.2.0/gcc/config/mips/linux.h
    207 --- gcc-4.2.0.orig/gcc/config/mips/linux.h      2007-05-16 19:21:19.000000000 -0400
    208 +++ gcc-4.2.0/gcc/config/mips/linux.h   2007-05-18 16:23:31.000000000 -0400
    209 @@ -104,7 +104,7 @@
     207diff -Naur gcc-4.3.1.orig/gcc/config/mips/linux.h gcc-4.3.1/gcc/config/mips/linux.h
     208--- gcc-4.3.1.orig/gcc/config/mips/linux.h      2007-10-21 05:20:49.000000000 -0400
     209+++ gcc-4.3.1/gcc/config/mips/linux.h   2008-08-24 13:51:46.000000000 -0400
     210@@ -64,7 +64,7 @@
    210211 #undef MIPS_DEFAULT_GVALUE
    211212 #define MIPS_DEFAULT_GVALUE 0
     
    216217 /* Borrowed from sparc/linux.h */
    217218 #undef LINK_SPEC
    218 diff -Naur gcc-4.2.0.orig/gcc/config/mn10300/linux.h gcc-4.2.0/gcc/config/mn10300/linux.h
    219 --- gcc-4.2.0.orig/gcc/config/mn10300/linux.h   2007-05-16 19:21:19.000000000 -0400
    220 +++ gcc-4.2.0/gcc/config/mn10300/linux.h        2007-05-18 16:23:31.000000000 -0400
    221 @@ -33,7 +33,7 @@
     219diff -Naur gcc-4.3.1.orig/gcc/config/mn10300/linux.h gcc-4.3.1/gcc/config/mn10300/linux.h
     220--- gcc-4.3.1.orig/gcc/config/mn10300/linux.h   2007-08-02 06:49:31.000000000 -0400
     221+++ gcc-4.3.1/gcc/config/mn10300/linux.h        2008-08-24 13:51:46.000000000 -0400
     222@@ -32,7 +32,7 @@
    222223 #undef  ASM_SPEC
    223224 #define ASM_SPEC "%{Wa,*:%*}"
     
    228229 #undef  LINK_SPEC
    229230 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
    230 diff -Naur gcc-4.2.0.orig/gcc/config/pa/pa-linux.h gcc-4.2.0/gcc/config/pa/pa-linux.h
    231 --- gcc-4.2.0.orig/gcc/config/pa/pa-linux.h     2007-05-16 19:21:19.000000000 -0400
    232 +++ gcc-4.2.0/gcc/config/pa/pa-linux.h  2007-05-18 16:23:31.000000000 -0400
    233 @@ -45,7 +45,7 @@
     231diff -Naur gcc-4.3.1.orig/gcc/config/pa/pa-linux.h gcc-4.3.1/gcc/config/pa/pa-linux.h
     232--- gcc-4.3.1.orig/gcc/config/pa/pa-linux.h     2007-08-02 06:49:31.000000000 -0400
     233+++ gcc-4.3.1/gcc/config/pa/pa-linux.h  2008-08-24 13:51:46.000000000 -0400
     234@@ -44,7 +44,7 @@
    234235 /* Define this for shared library support because it isn't in the main
    235236    linux.h file.  */
     
    240241 #undef LINK_SPEC
    241242 #define LINK_SPEC "\
    242 diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/linux64.h gcc-4.2.0/gcc/config/rs6000/linux64.h
    243 --- gcc-4.2.0.orig/gcc/config/rs6000/linux64.h  2007-05-16 19:21:19.000000000 -0400
    244 +++ gcc-4.2.0/gcc/config/rs6000/linux64.h       2007-05-18 16:23:31.000000000 -0400
    245 @@ -336,10 +336,10 @@
     243diff -Naur gcc-4.3.1.orig/gcc/config/rs6000/linux64.h gcc-4.3.1/gcc/config/rs6000/linux64.h
     244--- gcc-4.3.1.orig/gcc/config/rs6000/linux64.h  2007-08-02 06:49:31.000000000 -0400
     245+++ gcc-4.3.1/gcc/config/rs6000/linux64.h       2008-08-24 13:51:46.000000000 -0400
     246@@ -339,10 +339,10 @@
    246247 #undef LINK_OS_DEFAULT_SPEC
    247248 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
     
    258259 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    259260 #else
    260 diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/sysv4.h gcc-4.2.0/gcc/config/rs6000/sysv4.h
    261 --- gcc-4.2.0.orig/gcc/config/rs6000/sysv4.h    2007-05-16 19:21:19.000000000 -0400
    262 +++ gcc-4.2.0/gcc/config/rs6000/sysv4.h 2007-05-18 16:29:05.000000000 -0400
    263 @@ -892,8 +892,8 @@
     261diff -Naur gcc-4.3.1.orig/gcc/config/rs6000/sysv4.h gcc-4.3.1/gcc/config/rs6000/sysv4.h
     262--- gcc-4.3.1.orig/gcc/config/rs6000/sysv4.h    2007-08-08 15:33:24.000000000 -0400
     263+++ gcc-4.3.1/gcc/config/rs6000/sysv4.h 2008-08-24 13:51:46.000000000 -0400
     264@@ -891,8 +891,8 @@
    264265 
    265266 #define LINK_START_LINUX_SPEC ""
     
    272273 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    273274 #else
    274 @@ -935,7 +935,7 @@
     275@@ -934,7 +934,7 @@
    275276 
    276277 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
     
    281282 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__   \
    282283 %{!undef:                                                      \
    283 diff -Naur gcc-4.2.0.orig/gcc/config/s390/linux.h gcc-4.2.0/gcc/config/s390/linux.h
    284 --- gcc-4.2.0.orig/gcc/config/s390/linux.h      2007-05-16 19:21:19.000000000 -0400
    285 +++ gcc-4.2.0/gcc/config/s390/linux.h   2007-05-18 16:23:31.000000000 -0400
    286 @@ -73,8 +73,8 @@
     284diff -Naur gcc-4.3.1.orig/gcc/config/rs6000/t-linux64 gcc-4.3.1/gcc/config/rs6000/t-linux64
     285--- gcc-4.3.1.orig/gcc/config/rs6000/t-linux64  2007-09-27 15:56:06.000000000 -0400
     286+++ gcc-4.3.1/gcc/config/rs6000/t-linux64       2008-08-24 13:50:38.000000000 -0400
     287@@ -14,13 +14,13 @@
     288 # it doesn't tell anything about the 32bit libraries on those systems.  Set
     289 # MULTILIB_OSDIRNAMES according to what is found on the target.
     290 
     291-MULTILIB_OPTIONS        = m64/m32 msoft-float
     292-MULTILIB_DIRNAMES       = 64 32 nof
     293+MULTILIB_OPTIONS        = m64/m32
     294+MULTILIB_DIRNAMES       = 64 32
     295 MULTILIB_EXTRA_OPTS     = fPIC mstrict-align
     296-MULTILIB_EXCEPTIONS     = m64/msoft-float
     297-MULTILIB_EXCLUSIONS     = m64/!m32/msoft-float
     298-MULTILIB_OSDIRNAMES    = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) nof
     299-MULTILIB_MATCHES        = $(MULTILIB_MATCHES_FLOAT)
     300+MULTILIB_EXCEPTIONS     =
     301+MULTILIB_EXCLUSIONS     =
     302+MULTILIB_OSDIRNAMES    = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
     303+MULTILIB_MATCHES        =
     304 
     305 softfp_wrap_start := '\#ifndef __powerpc64__'
     306 softfp_wrap_end := '\#endif'
     307diff -Naur gcc-4.3.1.orig/gcc/config/s390/linux.h gcc-4.3.1/gcc/config/s390/linux.h
     308--- gcc-4.3.1.orig/gcc/config/s390/linux.h      2007-08-02 06:49:31.000000000 -0400
     309+++ gcc-4.3.1/gcc/config/s390/linux.h   2008-08-24 13:51:46.000000000 -0400
     310@@ -72,8 +72,8 @@
    287311 #define MULTILIB_DEFAULTS { "m31" }
    288312 #endif
     
    295319 #undef  LINK_SPEC
    296320 #define LINK_SPEC \
    297 diff -Naur gcc-4.2.0.orig/gcc/config/sh/linux.h gcc-4.2.0/gcc/config/sh/linux.h
    298 --- gcc-4.2.0.orig/gcc/config/sh/linux.h        2007-05-16 19:21:19.000000000 -0400
    299 +++ gcc-4.2.0/gcc/config/sh/linux.h     2007-05-18 16:23:31.000000000 -0400
    300 @@ -48,7 +48,7 @@
     321diff -Naur gcc-4.3.1.orig/gcc/config/sh/linux.h gcc-4.3.1/gcc/config/sh/linux.h
     322--- gcc-4.3.1.orig/gcc/config/sh/linux.h        2007-08-02 06:49:31.000000000 -0400
     323+++ gcc-4.3.1/gcc/config/sh/linux.h     2008-08-24 13:51:46.000000000 -0400
     324@@ -47,7 +47,7 @@
    301325 
    302326 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
     
    307331 #undef SUBTARGET_LINK_EMUL_SUFFIX
    308332 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
    309 diff -Naur gcc-4.2.0.orig/gcc/config/sparc/linux64.h gcc-4.2.0/gcc/config/sparc/linux64.h
    310 --- gcc-4.2.0.orig/gcc/config/sparc/linux64.h   2007-05-16 19:21:19.000000000 -0400
    311 +++ gcc-4.2.0/gcc/config/sparc/linux64.h        2007-05-18 16:25:23.000000000 -0400
     333diff -Naur gcc-4.3.1.orig/gcc/config/sparc/linux64.h gcc-4.3.1/gcc/config/sparc/linux64.h
     334--- gcc-4.3.1.orig/gcc/config/sparc/linux64.h   2007-10-19 00:29:38.000000000 -0400
     335+++ gcc-4.3.1/gcc/config/sparc/linux64.h        2008-08-24 13:51:46.000000000 -0400
    312336@@ -144,10 +144,10 @@
    313337 
     
    352376     %{!ibcs: \
    353377       %{!static: \
    354 diff -Naur gcc-4.2.0.orig/gcc/config/sparc/linux.h gcc-4.2.0/gcc/config/sparc/linux.h
    355 --- gcc-4.2.0.orig/gcc/config/sparc/linux.h     2007-05-16 19:21:19.000000000 -0400
    356 +++ gcc-4.2.0/gcc/config/sparc/linux.h  2007-05-18 16:24:24.000000000 -0400
    357 @@ -121,8 +121,8 @@
     378diff -Naur gcc-4.3.1.orig/gcc/config/sparc/linux.h gcc-4.3.1/gcc/config/sparc/linux.h
     379--- gcc-4.3.1.orig/gcc/config/sparc/linux.h     2007-08-02 06:49:31.000000000 -0400
     380+++ gcc-4.3.1/gcc/config/sparc/linux.h  2008-08-24 13:51:46.000000000 -0400
     381@@ -120,8 +120,8 @@
    358382 
    359383 /* If ELF is the default format, we should not use /lib/elf.  */
     
    366390 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    367391 #else
    368 @@ -133,7 +133,7 @@
     392@@ -132,7 +132,7 @@
    369393 
    370394 
     
    375399   %{!shared: \
    376400     %{!ibcs: \
    377 diff -Naur gcc-4.2.0.orig/gcc/config/xtensa/linux.h gcc-4.2.0/gcc/config/xtensa/linux.h
    378 --- gcc-4.2.0.orig/gcc/config/xtensa/linux.h    2007-05-16 19:21:19.000000000 -0400
    379 +++ gcc-4.2.0/gcc/config/xtensa/linux.h 2007-05-18 16:23:31.000000000 -0400
     401diff -Naur gcc-4.3.1.orig/gcc/config/xtensa/linux.h gcc-4.3.1/gcc/config/xtensa/linux.h
     402--- gcc-4.3.1.orig/gcc/config/xtensa/linux.h    2008-01-17 20:37:53.000000000 -0500
     403+++ gcc-4.3.1/gcc/config/xtensa/linux.h 2008-08-24 13:51:46.000000000 -0400
    380404@@ -43,7 +43,7 @@
    381405   %{mlongcalls:--longcalls} \
  • patches/gcc-4.3.1-specs-1.patch

    r5df4d80 r6a043e2  
    1 Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes)
    2 Date: 2007-02-14
     1Submitted By: Joe Ciccone <jciccone@gmail.com>
     2Date: 2008-08-22
    33Initial Package Version: 4.1.2
    44Upstream Status: Not Sent - LFS Specific
     
    1111        Rediffed against gcc 4.1.2 by Jim Gifford
    1212        Rediffed against gcc 4.2.0 by Joe Ciccone
     13        Rediffed against gcc 4.3.0 by Joe Ciccone
    1314Description: This patch modifies the location of the dynamic linker for
    1415        the GCC Pass 2 build in LFS Chapter 5.
    1516
    16 diff -Naur gcc-4.2.0.orig/gcc/config/alpha/gnu.h gcc-4.2.0/gcc/config/alpha/gnu.h
    17 --- gcc-4.2.0.orig/gcc/config/alpha/gnu.h       2007-05-16 19:21:19.000000000 -0400
    18 +++ gcc-4.2.0/gcc/config/alpha/gnu.h    2007-05-18 16:27:10.000000000 -0400
     17diff -Naur gcc-4.3.0.orig/gcc/config/alpha/gnu.h gcc-4.3.0/gcc/config/alpha/gnu.h
     18--- gcc-4.3.0.orig/gcc/config/alpha/gnu.h       2004-09-07 20:17:19.000000000 -0400
     19+++ gcc-4.3.0/gcc/config/alpha/gnu.h    2008-05-05 21:34:09.000000000 -0400
    1920@@ -11,7 +11,7 @@
    2021     } while (0)
     
    2627 #undef STARTFILE_SPEC
    2728 #define STARTFILE_SPEC \
    28 diff -Naur gcc-4.2.0.orig/gcc/config/alpha/linux-elf.h gcc-4.2.0/gcc/config/alpha/linux-elf.h
    29 --- gcc-4.2.0.orig/gcc/config/alpha/linux-elf.h 2007-05-16 19:21:19.000000000 -0400
    30 +++ gcc-4.2.0/gcc/config/alpha/linux-elf.h      2007-05-18 16:23:31.000000000 -0400
    31 @@ -28,8 +28,8 @@
    32  #define SUBTARGET_EXTRA_SPECS \
     29diff -Naur gcc-4.3.0.orig/gcc/config/alpha/linux-elf.h gcc-4.3.0/gcc/config/alpha/linux-elf.h
     30--- gcc-4.3.0.orig/gcc/config/alpha/linux-elf.h 2007-08-02 06:49:31.000000000 -0400
     31+++ gcc-4.3.0/gcc/config/alpha/linux-elf.h      2008-05-05 21:34:09.000000000 -0400
     32@@ -27,8 +27,8 @@
     33 #define EXTRA_SPECS \
    3334 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
    3435 
     
    4041 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    4142 #else
    42 diff -Naur gcc-4.2.0.orig/gcc/config/arm/linux-eabi.h gcc-4.2.0/gcc/config/arm/linux-eabi.h
    43 --- gcc-4.2.0.orig/gcc/config/arm/linux-eabi.h  2007-05-16 19:21:19.000000000 -0400
    44 +++ gcc-4.2.0/gcc/config/arm/linux-eabi.h       2007-05-18 16:26:45.000000000 -0400
    45 @@ -53,7 +53,7 @@
     43diff -Naur gcc-4.3.0.orig/gcc/config/arm/linux-eabi.h gcc-4.3.0/gcc/config/arm/linux-eabi.h
     44--- gcc-4.3.0.orig/gcc/config/arm/linux-eabi.h  2007-11-08 08:44:09.000000000 -0500
     45+++ gcc-4.3.0/gcc/config/arm/linux-eabi.h       2008-05-05 21:34:43.000000000 -0400
     46@@ -61,7 +61,7 @@
    4647 /* Use ld-linux.so.3 so that it will be possible to run "classic"
    4748    GNU/Linux binaries on an EABI system.  */
    48  #undef GLIBC_DYNAMIC_LINKER
     49 #undef  GLIBC_DYNAMIC_LINKER
    4950-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3"
    5051+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.3"
     
    5253 /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
    5354    use the GNU/Linux version, not the generic BPABI version.  */
    54 diff -Naur gcc-4.2.0.orig/gcc/config/arm/linux-elf.h gcc-4.2.0/gcc/config/arm/linux-elf.h
    55 --- gcc-4.2.0.orig/gcc/config/arm/linux-elf.h   2007-05-16 19:21:19.000000000 -0400
    56 +++ gcc-4.2.0/gcc/config/arm/linux-elf.h        2007-05-18 16:23:31.000000000 -0400
    57 @@ -51,7 +51,7 @@
     55diff -Naur gcc-4.3.0.orig/gcc/config/arm/linux-elf.h gcc-4.3.0/gcc/config/arm/linux-elf.h
     56--- gcc-4.3.0.orig/gcc/config/arm/linux-elf.h   2007-11-08 08:44:09.000000000 -0500
     57+++ gcc-4.3.0/gcc/config/arm/linux-elf.h        2008-05-05 21:34:09.000000000 -0400
     58@@ -62,7 +62,7 @@
    5859 
    5960 #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
     
    6465 #define LINUX_TARGET_LINK_SPEC  "%{h*} %{version:-v} \
    6566    %{b} \
    66 diff -Naur gcc-4.2.0.orig/gcc/config/cris/linux.h gcc-4.2.0/gcc/config/cris/linux.h
    67 --- gcc-4.2.0.orig/gcc/config/cris/linux.h      2007-05-16 19:21:19.000000000 -0400
    68 +++ gcc-4.2.0/gcc/config/cris/linux.h   2007-05-18 16:30:54.000000000 -0400
    69 @@ -76,7 +76,7 @@
    70  #undef CRIS_SUBTARGET_VERSION
    71  #define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
     67diff -Naur gcc-4.3.0.orig/gcc/config/cris/linux.h gcc-4.3.0/gcc/config/cris/linux.h
     68--- gcc-4.3.0.orig/gcc/config/cris/linux.h      2008-01-23 12:17:58.000000000 -0500
     69+++ gcc-4.3.0/gcc/config/cris/linux.h   2008-05-05 21:34:09.000000000 -0400
     70@@ -102,7 +102,7 @@
     71 #undef CRIS_DEFAULT_CPU_VERSION
     72 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
    7273 
    7374-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
     
    7677 /* We need an -rpath-link to ld.so.1, and presumably to each directory
    7778    specified with -B.  */
    78 diff -Naur gcc-4.2.0.orig/gcc/config/frv/linux.h gcc-4.2.0/gcc/config/frv/linux.h
    79 --- gcc-4.2.0.orig/gcc/config/frv/linux.h       2007-05-16 19:21:19.000000000 -0400
    80 +++ gcc-4.2.0/gcc/config/frv/linux.h    2007-05-18 16:23:31.000000000 -0400
    81 @@ -36,7 +36,7 @@
     79diff -Naur gcc-4.3.0.orig/gcc/config/frv/linux.h gcc-4.3.0/gcc/config/frv/linux.h
     80--- gcc-4.3.0.orig/gcc/config/frv/linux.h       2007-08-02 06:49:31.000000000 -0400
     81+++ gcc-4.3.0/gcc/config/frv/linux.h    2008-05-05 21:34:09.000000000 -0400
     82@@ -35,7 +35,7 @@
    8283 #define ENDFILE_SPEC \
    8384   "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
     
    8889 #undef LINK_SPEC
    8990 #define LINK_SPEC "\
    90 diff -Naur gcc-4.2.0.orig/gcc/config/i386/gnu.h gcc-4.2.0/gcc/config/i386/gnu.h
    91 --- gcc-4.2.0.orig/gcc/config/i386/gnu.h        2007-05-16 19:21:19.000000000 -0400
    92 +++ gcc-4.2.0/gcc/config/i386/gnu.h     2007-05-18 16:23:31.000000000 -0400
     91diff -Naur gcc-4.3.0.orig/gcc/config/i386/gnu.h gcc-4.3.0/gcc/config/i386/gnu.h
     92--- gcc-4.3.0.orig/gcc/config/i386/gnu.h        2007-08-08 02:35:17.000000000 -0400
     93+++ gcc-4.3.0/gcc/config/i386/gnu.h     2008-05-05 21:34:09.000000000 -0400
    9394@@ -22,7 +22,7 @@
    9495   %{!shared: \
     
    100101 
    101102 #undef STARTFILE_SPEC
    102 diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h
    103 --- gcc-4.2.0.orig/gcc/config/i386/linux64.h    2007-05-16 19:21:19.000000000 -0400
    104 +++ gcc-4.2.0/gcc/config/i386/linux64.h 2007-05-18 16:23:31.000000000 -0400
    105 @@ -49,8 +49,8 @@
     103diff -Naur gcc-4.3.0.orig/gcc/config/i386/linux64.h gcc-4.3.0/gcc/config/i386/linux64.h
     104--- gcc-4.3.0.orig/gcc/config/i386/linux64.h    2007-08-02 06:49:31.000000000 -0400
     105+++ gcc-4.3.0/gcc/config/i386/linux64.h 2008-05-05 21:34:09.000000000 -0400
     106@@ -53,8 +53,8 @@
    106107    When the -shared link option is used a final link is not being
    107108    done.  */
     
    112113+#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2"
    113114 
    114  #undef LINK_SPEC
    115  #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \
    116 diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux.h gcc-4.2.0/gcc/config/i386/linux.h
    117 --- gcc-4.2.0.orig/gcc/config/i386/linux.h      2007-05-16 19:21:19.000000000 -0400
    118 +++ gcc-4.2.0/gcc/config/i386/linux.h   2007-05-18 16:23:31.000000000 -0400
    119 @@ -101,7 +101,7 @@
     115 #if TARGET_64BIT_DEFAULT
     116 #define SPEC_32 "m32"
     117diff -Naur gcc-4.3.0.orig/gcc/config/i386/linux.h gcc-4.3.0/gcc/config/i386/linux.h
     118--- gcc-4.3.0.orig/gcc/config/i386/linux.h      2007-11-27 20:04:27.000000000 -0500
     119+++ gcc-4.3.0/gcc/config/i386/linux.h   2008-05-05 21:34:09.000000000 -0400
     120@@ -100,7 +100,7 @@
    120121 
    121122 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
     
    126127 #undef  SUBTARGET_EXTRA_SPECS
    127128 #define SUBTARGET_EXTRA_SPECS \
    128 diff -Naur gcc-4.2.0.orig/gcc/config/ia64/linux.h gcc-4.2.0/gcc/config/ia64/linux.h
    129 --- gcc-4.2.0.orig/gcc/config/ia64/linux.h      2007-05-16 19:21:19.000000000 -0400
    130 +++ gcc-4.2.0/gcc/config/ia64/linux.h   2007-05-18 16:23:31.000000000 -0400
     129diff -Naur gcc-4.3.0.orig/gcc/config/ia64/linux.h gcc-4.3.0/gcc/config/ia64/linux.h
     130--- gcc-4.3.0.orig/gcc/config/ia64/linux.h      2006-12-12 10:15:19.000000000 -0500
     131+++ gcc-4.3.0/gcc/config/ia64/linux.h   2008-05-05 21:34:09.000000000 -0400
    131132@@ -37,7 +37,7 @@
    132133 /* Define this for shared library support because it isn't in the main
     
    138139 #undef LINK_SPEC
    139140 #define LINK_SPEC "\
    140 diff -Naur gcc-4.2.0.orig/gcc/config/linux.h gcc-4.2.0/gcc/config/linux.h
    141 --- gcc-4.2.0.orig/gcc/config/linux.h   2007-05-16 19:21:19.000000000 -0400
    142 +++ gcc-4.2.0/gcc/config/linux.h        2007-05-18 16:23:31.000000000 -0400
     141diff -Naur gcc-4.3.0.orig/gcc/config/linux.h gcc-4.3.0/gcc/config/linux.h
     142--- gcc-4.3.0.orig/gcc/config/linux.h   2007-08-02 06:49:31.000000000 -0400
     143+++ gcc-4.3.0/gcc/config/linux.h        2008-05-05 21:34:09.000000000 -0400
    143144@@ -112,9 +112,9 @@
    144145    GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
     
    154155   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
    155156 #define LINUX_DYNAMIC_LINKER32 \
    156 @@ -127,3 +127,7 @@
    157  #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
     157@@ -130,3 +130,7 @@
     158 #define TARGET_HAS_SINCOS (OPTION_GLIBC)
    158159 
    159160 #define TARGET_POSIX_IO
     
    162163+#undef STANDARD_INCLUDE_DIR
    163164+#define STANDARD_INCLUDE_DIR 0
    164 diff -Naur gcc-4.2.0.orig/gcc/config/m32r/linux.h gcc-4.2.0/gcc/config/m32r/linux.h
    165 --- gcc-4.2.0.orig/gcc/config/m32r/linux.h      2007-05-16 19:21:19.000000000 -0400
    166 +++ gcc-4.2.0/gcc/config/m32r/linux.h   2007-05-18 16:23:31.000000000 -0400
    167 @@ -59,7 +59,7 @@
     165diff -Naur gcc-4.3.0.orig/gcc/config/m32r/linux.h gcc-4.3.0/gcc/config/m32r/linux.h
     166--- gcc-4.3.0.orig/gcc/config/m32r/linux.h      2007-08-02 06:49:31.000000000 -0400
     167+++ gcc-4.3.0/gcc/config/m32r/linux.h   2008-05-05 21:34:09.000000000 -0400
     168@@ -58,7 +58,7 @@
    168169 
    169170 /* If ELF is the default format, we should not use /lib/elf.  */
     
    174175 #undef LINK_SPEC
    175176 #if TARGET_LITTLE_ENDIAN
    176 diff -Naur gcc-4.2.0.orig/gcc/config/m68k/linux.h gcc-4.2.0/gcc/config/m68k/linux.h
    177 --- gcc-4.2.0.orig/gcc/config/m68k/linux.h      2007-05-16 19:21:19.000000000 -0400
    178 +++ gcc-4.2.0/gcc/config/m68k/linux.h   2007-05-18 16:23:31.000000000 -0400
    179 @@ -123,7 +123,7 @@
     177diff -Naur gcc-4.3.0.orig/gcc/config/m68k/linux.h gcc-4.3.0/gcc/config/m68k/linux.h
     178--- gcc-4.3.0.orig/gcc/config/m68k/linux.h      2007-09-24 17:07:08.000000000 -0400
     179+++ gcc-4.3.0/gcc/config/m68k/linux.h   2008-05-05 21:34:09.000000000 -0400
     180@@ -84,7 +84,7 @@
    180181 
    181182 /* If ELF is the default format, we should not use /lib/elf.  */
     
    184185+#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1"
    185186 
    186  #undef LINK_SPEC
     187 #undef LINK_SPEC
    187188 #define LINK_SPEC "-m m68kelf %{shared} \
    188 diff -Naur gcc-4.2.0.orig/gcc/config/mips/linux64.h gcc-4.2.0/gcc/config/mips/linux64.h
    189 --- gcc-4.2.0.orig/gcc/config/mips/linux64.h    2007-05-16 19:21:19.000000000 -0400
    190 +++ gcc-4.2.0/gcc/config/mips/linux64.h 2007-05-18 16:23:31.000000000 -0400
    191 @@ -36,10 +36,10 @@
    192  %{!shared: %{pthread:-lpthread} \
    193    %{profile:-lc_p} %{!profile: -lc}}"
     189diff -Naur gcc-4.3.0.orig/gcc/config/mips/linux64.h gcc-4.3.0/gcc/config/mips/linux64.h
     190--- gcc-4.3.0.orig/gcc/config/mips/linux64.h    2007-08-02 06:49:31.000000000 -0400
     191+++ gcc-4.3.0/gcc/config/mips/linux64.h 2008-05-05 21:34:09.000000000 -0400
     192@@ -38,10 +38,10 @@
     193 %{!shared: \
     194   %{profile:-lc_p} %{!profile:-lc}}"
    194195 
    195196-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
     
    204205   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
    205206 
    206 diff -Naur gcc-4.2.0.orig/gcc/config/mips/linux.h gcc-4.2.0/gcc/config/mips/linux.h
    207 --- gcc-4.2.0.orig/gcc/config/mips/linux.h      2007-05-16 19:21:19.000000000 -0400
    208 +++ gcc-4.2.0/gcc/config/mips/linux.h   2007-05-18 16:23:31.000000000 -0400
    209 @@ -104,7 +104,7 @@
     207diff -Naur gcc-4.3.0.orig/gcc/config/mips/linux.h gcc-4.3.0/gcc/config/mips/linux.h
     208--- gcc-4.3.0.orig/gcc/config/mips/linux.h      2007-10-21 05:20:49.000000000 -0400
     209+++ gcc-4.3.0/gcc/config/mips/linux.h   2008-05-05 21:34:09.000000000 -0400
     210@@ -64,7 +64,7 @@
    210211 #undef MIPS_DEFAULT_GVALUE
    211212 #define MIPS_DEFAULT_GVALUE 0
     
    216217 /* Borrowed from sparc/linux.h */
    217218 #undef LINK_SPEC
    218 diff -Naur gcc-4.2.0.orig/gcc/config/mn10300/linux.h gcc-4.2.0/gcc/config/mn10300/linux.h
    219 --- gcc-4.2.0.orig/gcc/config/mn10300/linux.h   2007-05-16 19:21:19.000000000 -0400
    220 +++ gcc-4.2.0/gcc/config/mn10300/linux.h        2007-05-18 16:23:31.000000000 -0400
    221 @@ -33,7 +33,7 @@
     219diff -Naur gcc-4.3.0.orig/gcc/config/mn10300/linux.h gcc-4.3.0/gcc/config/mn10300/linux.h
     220--- gcc-4.3.0.orig/gcc/config/mn10300/linux.h   2007-08-02 06:49:31.000000000 -0400
     221+++ gcc-4.3.0/gcc/config/mn10300/linux.h        2008-05-05 21:34:09.000000000 -0400
     222@@ -32,7 +32,7 @@
    222223 #undef  ASM_SPEC
    223224 #define ASM_SPEC "%{Wa,*:%*}"
     
    228229 #undef  LINK_SPEC
    229230 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
    230 diff -Naur gcc-4.2.0.orig/gcc/config/pa/pa-linux.h gcc-4.2.0/gcc/config/pa/pa-linux.h
    231 --- gcc-4.2.0.orig/gcc/config/pa/pa-linux.h     2007-05-16 19:21:19.000000000 -0400
    232 +++ gcc-4.2.0/gcc/config/pa/pa-linux.h  2007-05-18 16:23:31.000000000 -0400
    233 @@ -45,7 +45,7 @@
     231diff -Naur gcc-4.3.0.orig/gcc/config/pa/pa-linux.h gcc-4.3.0/gcc/config/pa/pa-linux.h
     232--- gcc-4.3.0.orig/gcc/config/pa/pa-linux.h     2007-08-02 06:49:31.000000000 -0400
     233+++ gcc-4.3.0/gcc/config/pa/pa-linux.h  2008-05-05 21:34:09.000000000 -0400
     234@@ -44,7 +44,7 @@
    234235 /* Define this for shared library support because it isn't in the main
    235236    linux.h file.  */
     
    240241 #undef LINK_SPEC
    241242 #define LINK_SPEC "\
    242 diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/linux64.h gcc-4.2.0/gcc/config/rs6000/linux64.h
    243 --- gcc-4.2.0.orig/gcc/config/rs6000/linux64.h  2007-05-16 19:21:19.000000000 -0400
    244 +++ gcc-4.2.0/gcc/config/rs6000/linux64.h       2007-05-18 16:23:31.000000000 -0400
    245 @@ -336,10 +336,10 @@
     243diff -Naur gcc-4.3.0.orig/gcc/config/rs6000/linux64.h gcc-4.3.0/gcc/config/rs6000/linux64.h
     244--- gcc-4.3.0.orig/gcc/config/rs6000/linux64.h  2007-08-02 06:49:31.000000000 -0400
     245+++ gcc-4.3.0/gcc/config/rs6000/linux64.h       2008-05-05 21:34:09.000000000 -0400
     246@@ -339,10 +339,10 @@
    246247 #undef LINK_OS_DEFAULT_SPEC
    247248 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
     
    258259 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    259260 #else
    260 diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/sysv4.h gcc-4.2.0/gcc/config/rs6000/sysv4.h
    261 --- gcc-4.2.0.orig/gcc/config/rs6000/sysv4.h    2007-05-16 19:21:19.000000000 -0400
    262 +++ gcc-4.2.0/gcc/config/rs6000/sysv4.h 2007-05-18 16:29:05.000000000 -0400
    263 @@ -892,8 +892,8 @@
     261diff -Naur gcc-4.3.0.orig/gcc/config/rs6000/sysv4.h gcc-4.3.0/gcc/config/rs6000/sysv4.h
     262--- gcc-4.3.0.orig/gcc/config/rs6000/sysv4.h    2007-08-08 15:33:24.000000000 -0400
     263+++ gcc-4.3.0/gcc/config/rs6000/sysv4.h 2008-05-05 21:34:09.000000000 -0400
     264@@ -891,8 +891,8 @@
    264265 
    265266 #define LINK_START_LINUX_SPEC ""
     
    272273 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    273274 #else
    274 @@ -935,7 +935,7 @@
     275@@ -934,7 +934,7 @@
    275276 
    276277 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
     
    281282 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__   \
    282283 %{!undef:                                                      \
    283 diff -Naur gcc-4.2.0.orig/gcc/config/s390/linux.h gcc-4.2.0/gcc/config/s390/linux.h
    284 --- gcc-4.2.0.orig/gcc/config/s390/linux.h      2007-05-16 19:21:19.000000000 -0400
    285 +++ gcc-4.2.0/gcc/config/s390/linux.h   2007-05-18 16:23:31.000000000 -0400
    286 @@ -73,8 +73,8 @@
     284diff -Naur gcc-4.3.0.orig/gcc/config/s390/linux.h gcc-4.3.0/gcc/config/s390/linux.h
     285--- gcc-4.3.0.orig/gcc/config/s390/linux.h      2007-08-02 06:49:31.000000000 -0400
     286+++ gcc-4.3.0/gcc/config/s390/linux.h   2008-05-05 21:34:09.000000000 -0400
     287@@ -72,8 +72,8 @@
    287288 #define MULTILIB_DEFAULTS { "m31" }
    288289 #endif
     
    295296 #undef  LINK_SPEC
    296297 #define LINK_SPEC \
    297 diff -Naur gcc-4.2.0.orig/gcc/config/sh/linux.h gcc-4.2.0/gcc/config/sh/linux.h
    298 --- gcc-4.2.0.orig/gcc/config/sh/linux.h        2007-05-16 19:21:19.000000000 -0400
    299 +++ gcc-4.2.0/gcc/config/sh/linux.h     2007-05-18 16:23:31.000000000 -0400
    300 @@ -48,7 +48,7 @@
     298diff -Naur gcc-4.3.0.orig/gcc/config/sh/linux.h gcc-4.3.0/gcc/config/sh/linux.h
     299--- gcc-4.3.0.orig/gcc/config/sh/linux.h        2007-08-02 06:49:31.000000000 -0400
     300+++ gcc-4.3.0/gcc/config/sh/linux.h     2008-05-05 21:34:09.000000000 -0400
     301@@ -47,7 +47,7 @@
    301302 
    302303 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
     
    307308 #undef SUBTARGET_LINK_EMUL_SUFFIX
    308309 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
    309 diff -Naur gcc-4.2.0.orig/gcc/config/sparc/linux64.h gcc-4.2.0/gcc/config/sparc/linux64.h
    310 --- gcc-4.2.0.orig/gcc/config/sparc/linux64.h   2007-05-16 19:21:19.000000000 -0400
    311 +++ gcc-4.2.0/gcc/config/sparc/linux64.h        2007-05-18 16:25:23.000000000 -0400
     310diff -Naur gcc-4.3.0.orig/gcc/config/sparc/linux64.h gcc-4.3.0/gcc/config/sparc/linux64.h
     311--- gcc-4.3.0.orig/gcc/config/sparc/linux64.h   2007-10-19 00:29:38.000000000 -0400
     312+++ gcc-4.3.0/gcc/config/sparc/linux64.h        2008-05-05 21:34:09.000000000 -0400
    312313@@ -144,10 +144,10 @@
    313314 
     
    352353     %{!ibcs: \
    353354       %{!static: \
    354 diff -Naur gcc-4.2.0.orig/gcc/config/sparc/linux.h gcc-4.2.0/gcc/config/sparc/linux.h
    355 --- gcc-4.2.0.orig/gcc/config/sparc/linux.h     2007-05-16 19:21:19.000000000 -0400
    356 +++ gcc-4.2.0/gcc/config/sparc/linux.h  2007-05-18 16:24:24.000000000 -0400
    357 @@ -121,8 +121,8 @@
     355diff -Naur gcc-4.3.0.orig/gcc/config/sparc/linux.h gcc-4.3.0/gcc/config/sparc/linux.h
     356--- gcc-4.3.0.orig/gcc/config/sparc/linux.h     2007-08-02 06:49:31.000000000 -0400
     357+++ gcc-4.3.0/gcc/config/sparc/linux.h  2008-05-05 21:34:09.000000000 -0400
     358@@ -120,8 +120,8 @@
    358359 
    359360 /* If ELF is the default format, we should not use /lib/elf.  */
     
    366367 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
    367368 #else
    368 @@ -133,7 +133,7 @@
     369@@ -132,7 +132,7 @@
    369370 
    370371 
     
    375376   %{!shared: \
    376377     %{!ibcs: \
    377 diff -Naur gcc-4.2.0.orig/gcc/config/xtensa/linux.h gcc-4.2.0/gcc/config/xtensa/linux.h
    378 --- gcc-4.2.0.orig/gcc/config/xtensa/linux.h    2007-05-16 19:21:19.000000000 -0400
    379 +++ gcc-4.2.0/gcc/config/xtensa/linux.h 2007-05-18 16:23:31.000000000 -0400
     378diff -Naur gcc-4.3.0.orig/gcc/config/xtensa/linux.h gcc-4.3.0/gcc/config/xtensa/linux.h
     379--- gcc-4.3.0.orig/gcc/config/xtensa/linux.h    2008-01-17 20:37:53.000000000 -0500
     380+++ gcc-4.3.0/gcc/config/xtensa/linux.h 2008-05-05 21:34:09.000000000 -0400
    380381@@ -43,7 +43,7 @@
    381382   %{mlongcalls:--longcalls} \
Note: See TracChangeset for help on using the changeset viewer.