Changeset 56a4eb5
- Timestamp:
- Jun 3, 2009, 12:19:12 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- eafdda9
- Parents:
- 77e17c8d
- Location:
- patches
- Files:
-
- 1 added
- 3 deleted
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.4.0-posix-1.patch
r77e17c8d r56a4eb5 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 0 1-25-20093 Initial Package Version: 4. 3.32 Date: 04-21-2009 3 Initial Package Version: 4.4.0 4 4 Origin: Jim Gifford 5 5 Rediffed against 4.1.0 by Chris Staub … … 8 8 Rediffed against 4.3.0 by Joe Ciccone 9 9 Rediffed against 4.3.3 by Jim Gifford 10 Rediffed against 4.4.0 by Jim Gifford 10 11 Upstream Status: On Hold 11 12 Description: Makes GCC Posix Compliant 12 13 13 diff -Naur gcc-4. 3.3.orig/contrib/patch_tester.sh gcc-4.3.3/contrib/patch_tester.sh14 --- gcc-4. 3.3.orig/contrib/patch_tester.sh 2007-12-26 13:01:38.000000000 -080015 +++ gcc-4. 3.3/contrib/patch_tester.sh 2009-01-25 00:53:32.447636261 -080016 @@ - 287,7 +287,7 @@17 18 if ! make $dashj `grep "^make:" $PATCH | sed -e "s/^make://g"` bootstrap&> $1/bootstrap ; then19 report "bootstrap failed with last lines:"14 diff -Naur gcc-4.4.0.orig/contrib/patch_tester.sh gcc-4.4.0/contrib/patch_tester.sh 15 --- gcc-4.4.0.orig/contrib/patch_tester.sh 2008-05-08 08:14:47.000000000 -0700 16 +++ gcc-4.4.0/contrib/patch_tester.sh 2009-04-21 09:56:06.009963403 -0700 17 @@ -324,7 +324,7 @@ 18 MAKE_ARGS="$default_make $MAKE_ARGS" 19 if ! eval make $dashj $MAKE_ARGS &> $1/bootstrap ; then 20 report "bootstrap with `basename $1` version failed with last lines:" 20 21 - tail -30 $1/bootstrap > $1/last_bootstrap 21 22 + tail -n 30 $1/bootstrap > $1/last_bootstrap … … 23 24 report "grep --context=20 Error bootstrap:" 24 25 grep --context=20 Error $1/bootstrap > $1/bootstrap_error 25 @@ -4 20,7 +420,7 @@26 @@ -464,7 +464,7 @@ 26 27 # After selfexec, $TESTING is already set up. 27 28 if [ -d $TESTING ]; then … … 32 33 if [ -f $PATCH ]; then 33 34 bootntest_patched && bootntest_pristine && compare_passes 34 @@ -4 29,7 +429,7 @@35 fi36 35 @@ -474,7 +474,7 @@ 36 37 firstpatch=true 37 38 while true; do 38 39 - PATCH=`ls -rt -1 $PATCHES | head -1` 39 40 + PATCH=`ls -rt -1 $PATCHES | head -n 1` 40 41 if [ x$PATCH = x ]; then 41 sleep ${standby}m42 else43 diff -Naur gcc-4. 3.3.orig/contrib/test_summary gcc-4.3.3/contrib/test_summary44 --- gcc-4. 3.3.orig/contrib/test_summary 2007-02-09 16:30:46.000000000 -080045 +++ gcc-4. 3.3/contrib/test_summary 2009-01-25 00:53:32.447636261 -080042 if [ $stop = true ]; then 43 if [ $firstpatch = true ]; then 44 diff -Naur gcc-4.4.0.orig/contrib/test_summary gcc-4.4.0/contrib/test_summary 45 --- gcc-4.4.0.orig/contrib/test_summary 2007-02-09 16:30:46.000000000 -0800 46 +++ gcc-4.4.0/contrib/test_summary 2009-04-21 09:55:36.820093030 -0700 46 47 @@ -107,7 +107,7 @@ 47 48 srcdir = configflags; … … 53 54 54 55 sub(/^[^ ]*\/configure */, " ", configflags); 55 diff -Naur gcc-4. 3.3.orig/gcc/configure gcc-4.3.3/gcc/configure56 --- gcc-4. 3.3.orig/gcc/configure 2008-08-01 02:51:03.000000000 -070057 +++ gcc-4. 3.3/gcc/configure 2009-01-25 00:53:32.455839362 -080058 @@ -2 0245,7 +20245,7 @@56 diff -Naur gcc-4.4.0.orig/gcc/configure gcc-4.4.0/gcc/configure 57 --- gcc-4.4.0.orig/gcc/configure 2009-03-24 10:46:03.000000000 -0700 58 +++ gcc-4.4.0/gcc/configure 2009-04-21 09:55:36.828093310 -0700 59 @@ -21750,7 +21750,7 @@ 59 60 # Therefore, use diff -b for the comparisons. 60 61 if test x$gcc_cv_objdump != x \ … … 65 66 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 66 67 then 67 diff -Naur gcc-4. 3.3.orig/gcc/configure.ac gcc-4.3.3/gcc/configure.ac68 --- gcc-4. 3.3.orig/gcc/configure.ac 2008-08-01 02:51:03.000000000 -070069 +++ gcc-4. 3.3/gcc/configure.ac 2009-01-25 00:53:32.455839362 -080070 @@ -2 241,7 +2241,7 @@68 diff -Naur gcc-4.4.0.orig/gcc/configure.ac gcc-4.4.0/gcc/configure.ac 69 --- gcc-4.4.0.orig/gcc/configure.ac 2009-03-24 10:46:03.000000000 -0700 70 +++ gcc-4.4.0/gcc/configure.ac 2009-04-21 09:55:36.840094427 -0700 71 @@ -2351,7 +2351,7 @@ 71 72 # Therefore, use diff -b for the comparisons. 72 73 if test x$gcc_cv_objdump != x \ … … 77 78 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 78 79 then 79 diff -Naur gcc-4. 3.3.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.3.3/gcc/testsuite/ada/acats/run_all.sh80 --- gcc-4. 3.3.orig/gcc/testsuite/ada/acats/run_all.sh 2006-09-14 03:12:03.000000000 -070081 +++ gcc-4. 3.3/gcc/testsuite/ada/acats/run_all.sh 2009-01-25 00:53:32.459940773 -080080 diff -Naur gcc-4.4.0.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.4.0/gcc/testsuite/ada/acats/run_all.sh 81 --- gcc-4.4.0.orig/gcc/testsuite/ada/acats/run_all.sh 2006-09-14 03:12:03.000000000 -0700 82 +++ gcc-4.4.0/gcc/testsuite/ada/acats/run_all.sh 2009-04-21 09:55:36.848094706 -0700 82 83 @@ -68,7 +68,7 @@ 83 84 ls ${i}?.adb > ${i}.lst 2> /dev/null … … 89 90 90 91 EXTERNAL_OBJECTS="" 91 diff -Naur gcc-4. 3.3.orig/libgomp/acinclude.m4 gcc-4.3.3/libgomp/acinclude.m492 --- gcc-4. 3.3.orig/libgomp/acinclude.m4 2007-03-18 04:17:44.000000000 -070093 +++ gcc-4. 3.3/libgomp/acinclude.m4 2009-01-25 00:53:32.459940773 -080094 @@ -1 47,7 +147,7 @@95 # Start by getting the version number. I think the libtool test already96 # does some of this, but throws away the result.92 diff -Naur gcc-4.4.0.orig/libgomp/acinclude.m4 gcc-4.4.0/libgomp/acinclude.m4 93 --- gcc-4.4.0.orig/libgomp/acinclude.m4 2009-01-31 09:09:24.000000000 -0800 94 +++ gcc-4.4.0/libgomp/acinclude.m4 2009-04-21 09:56:53.993037854 -0700 95 @@ -152,7 +152,7 @@ 96 libgomp_ld_is_gold=yes 97 fi 97 98 changequote(,) 98 99 - ldver=`$LD --version 2>/dev/null | head -1 | \ 99 100 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 100 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`101 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 101 102 changequote([,]) 102 103 libgomp_gnu_ld_version=`echo $ldver | \ 103 diff -Naur gcc-4. 3.3.orig/libgomp/configure gcc-4.3.3/libgomp/configure104 --- gcc-4. 3.3.orig/libgomp/configure 2008-01-24 08:23:13.000000000 -0800105 +++ gcc-4. 3.3/libgomp/configure 2009-01-25 00:53:32.464042184 -0800106 @@ -1 7600,7 +17600,7 @@107 # Start by getting the version number. I think the libtool test already108 # does some of this, but throws away the result.104 diff -Naur gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure 105 --- gcc-4.4.0.orig/libgomp/configure 2009-04-21 02:08:08.000000000 -0700 106 +++ gcc-4.4.0/libgomp/configure 2009-04-21 09:56:33.615732086 -0700 107 @@ -18486,7 +18486,7 @@ 108 libgomp_ld_is_gold=yes 109 fi 109 110 110 111 - ldver=`$LD --version 2>/dev/null | head -1 | \ 111 112 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`113 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 113 114 114 115 libgomp_gnu_ld_version=`echo $ldver | \ 115 diff -Naur gcc-4. 3.3.orig/libjava/classpath/configure gcc-4.3.3/libjava/classpath/configure116 --- gcc-4. 3.3.orig/libjava/classpath/configure 2008-02-29 15:47:54.000000000 -0800117 +++ gcc-4. 3.3/libjava/classpath/configure 2009-01-25 00:53:32.480448386 -0800118 @@ -29 126,7 +29126,7 @@116 diff -Naur gcc-4.4.0.orig/libjava/classpath/configure gcc-4.4.0/libjava/classpath/configure 117 --- gcc-4.4.0.orig/libjava/classpath/configure 2009-03-16 05:08:23.000000000 -0700 118 +++ gcc-4.4.0/libjava/classpath/configure 2009-04-21 09:55:36.872096103 -0700 119 @@ -29072,7 +29072,7 @@ 119 120 fi # shortcircut to system "stdint.h" 120 121 # ------------------ PREPARE VARIABLES ------------------------------ … … 125 126 ac_cv_stdint_message="using $CC" 126 127 fi 127 diff -Naur gcc-4. 3.3.orig/libjava/classpath/ltcf-c.sh gcc-4.3.3/libjava/classpath/ltcf-c.sh128 --- gcc-4. 3.3.orig/libjava/classpath/ltcf-c.sh 2006-01-17 10:09:40.000000000 -0800129 +++ gcc-4. 3.3/libjava/classpath/ltcf-c.sh 2009-01-25 00:53:32.484550356 -0800128 diff -Naur gcc-4.4.0.orig/libjava/classpath/ltcf-c.sh gcc-4.4.0/libjava/classpath/ltcf-c.sh 129 --- gcc-4.4.0.orig/libjava/classpath/ltcf-c.sh 2006-01-17 10:09:40.000000000 -0800 130 +++ gcc-4.4.0/libjava/classpath/ltcf-c.sh 2009-04-21 09:55:36.872096103 -0700 130 131 @@ -153,7 +153,7 @@ 131 132 # If the export-symbols file already is a .def file (1st line … … 137 138 else 138 139 echo EXPORTS > $output_objdir/$soname-def; 139 diff -Naur gcc-4. 3.3.orig/libjava/classpath/ltcf-gcj.sh gcc-4.3.3/libjava/classpath/ltcf-gcj.sh140 --- gcc-4. 3.3.orig/libjava/classpath/ltcf-gcj.sh 2005-09-23 14:31:04.000000000 -0700141 +++ gcc-4. 3.3/libjava/classpath/ltcf-gcj.sh 2009-01-25 00:53:32.484550356 -0800140 diff -Naur gcc-4.4.0.orig/libjava/classpath/ltcf-gcj.sh gcc-4.4.0/libjava/classpath/ltcf-gcj.sh 141 --- gcc-4.4.0.orig/libjava/classpath/ltcf-gcj.sh 2005-09-23 14:31:04.000000000 -0700 142 +++ gcc-4.4.0/libjava/classpath/ltcf-gcj.sh 2009-04-21 09:55:36.872096103 -0700 142 143 @@ -156,7 +156,7 @@ 143 144 # If the export-symbols file already is a .def file (1st line … … 149 150 else 150 151 echo EXPORTS > $output_objdir/$soname-def; 151 diff -Naur gcc-4. 3.3.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.3.3/libjava/classpath/m4/ax_create_stdint_h.m4152 --- gcc-4. 3.3.orig/libjava/classpath/m4/ax_create_stdint_h.m4 2007-05-19 13:44:43.000000000 -0700153 +++ gcc-4. 3.3/libjava/classpath/m4/ax_create_stdint_h.m4 2009-01-25 00:53:32.484550356 -0800152 diff -Naur gcc-4.4.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.4.0/libjava/classpath/m4/ax_create_stdint_h.m4 153 --- gcc-4.4.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 2007-05-19 13:44:43.000000000 -0700 154 +++ gcc-4.4.0/libjava/classpath/m4/ax_create_stdint_h.m4 2009-04-21 09:55:36.872096103 -0700 154 155 @@ -217,7 +217,7 @@ 155 156 fi # shortcircut to system "stdint.h" … … 161 162 ac_cv_stdint_message="using $CC" 162 163 fi 163 diff -Naur gcc-4. 3.3.orig/libjava/configure gcc-4.3.3/libjava/configure164 --- gcc-4. 3.3.orig/libjava/configure 2009-01-24 02:32:29.000000000 -0800165 +++ gcc-4. 3.3/libjava/configure 2009-01-25 00:53:32.492753177 -0800166 @@ -18 673,8 +18673,8 @@164 diff -Naur gcc-4.4.0.orig/libjava/configure gcc-4.4.0/libjava/configure 165 --- gcc-4.4.0.orig/libjava/configure 2009-04-21 02:08:08.000000000 -0700 166 +++ gcc-4.4.0/libjava/configure 2009-04-21 09:55:36.884096662 -0700 167 @@ -18919,8 +18919,8 @@ 167 168 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 168 169 LD_PROG=`$CC --print-prog-name=ld` … … 175 176 LD_OK="ok" 176 177 else 177 diff -Naur gcc-4. 3.3.orig/libjava/mingwld.m4 gcc-4.3.3/libjava/mingwld.m4178 --- gcc-4. 3.3.orig/libjava/mingwld.m4 2005-08-22 15:36:35.000000000 -0700179 +++ gcc-4. 3.3/libjava/mingwld.m4 2009-01-25 00:53:32.492753177 -0800178 diff -Naur gcc-4.4.0.orig/libjava/mingwld.m4 gcc-4.4.0/libjava/mingwld.m4 179 --- gcc-4.4.0.orig/libjava/mingwld.m4 2005-08-22 15:36:35.000000000 -0700 180 +++ gcc-4.4.0/libjava/mingwld.m4 2009-04-21 09:55:36.892097500 -0700 180 181 @@ -3,8 +3,8 @@ 181 182 AC_MSG_CHECKING(whether 'ld' is at least 2.13) … … 189 190 LD_OK="ok" 190 191 else 191 diff -Naur gcc-4. 3.3.orig/libstdc++-v3/acinclude.m4 gcc-4.3.3/libstdc++-v3/acinclude.m4192 --- gcc-4. 3.3.orig/libstdc++-v3/acinclude.m4 2008-04-25 09:52:57.000000000 -0700193 +++ gcc-4. 3.3/libstdc++-v3/acinclude.m4 2009-01-25 00:53:32.500956558 -0800194 @@ -23 4,7 +234,7 @@195 if test x"$with_gnu_ld" = x"yes"; then196 AC_MSG_CHECKING([for ld version])197 changequote(,)198 - ldver=`$LD --version 2>/dev/null | head -1 | \ 199 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 200 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`192 diff -Naur gcc-4.4.0.orig/libstdc++-v3/acinclude.m4 gcc-4.4.0/libstdc++-v3/acinclude.m4 193 --- gcc-4.4.0.orig/libstdc++-v3/acinclude.m4 2009-02-23 12:42:53.000000000 -0800 194 +++ gcc-4.4.0/libstdc++-v3/acinclude.m4 2009-04-21 09:57:46.768419611 -0700 195 @@ -238,7 +238,7 @@ 196 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 197 glibcxx_ld_is_gold=yes 198 fi 199 - ldver=`$LD --version 2>/dev/null | head -1 | \ 200 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 201 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 201 202 changequote([,]) 202 203 glibcxx_gnu_ld_version=`echo $ldver | \ 203 diff -Naur gcc-4. 3.3.orig/libstdc++-v3/configure gcc-4.3.3/libstdc++-v3/configure204 --- gcc-4. 3.3.orig/libstdc++-v3/configure 2008-07-07 12:49:54.000000000 -0700205 +++ gcc-4. 3.3/libstdc++-v3/configure 2009-01-25 00:53:32.582987288 -0800206 @@ - 17490,7 +17490,7 @@207 echo "$as_me:$LINENO: checking for ld version" >&5208 echo $ECHO_N "checking for ld version... $ECHO_C" >&6209 210 - ldver=`$LD --version 2>/dev/null | head -1 | \ 211 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 212 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`213 214 glibcxx_gnu_ld_version=`echo $ldver | \ 215 @@ -42 215,7 +42215,7 @@216 echo "$as_me:$LINENO: checking for ld version" >&5217 echo $ECHO_N "checking for ld version... $ECHO_C" >&6218 219 - ldver=`$LD --version 2>/dev/null | head -1 | \ 220 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 221 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`222 223 glibcxx_gnu_ld_version=`echo $ldver | \ 224 @@ - 84606,7 +84606,7 @@225 echo "$as_me:$LINENO: checking for ld version" >&5226 echo $ECHO_N "checking for ld version... $ECHO_C" >&6227 228 - ldver=`$LD --version 2>/dev/null | head -1 | \ 229 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 230 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`231 232 glibcxx_gnu_ld_version=`echo $ldver | \ 233 @@ - 85622,7 +85622,7 @@234 echo "$as_me:$LINENO: checking for ld version" >&5235 echo $ECHO_N "checking for ld version... $ECHO_C" >&6236 237 - ldver=`$LD --version 2>/dev/null | head -1 | \ 238 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 239 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`240 241 glibcxx_gnu_ld_version=`echo $ldver | \ 242 @@ - 86610,7 +86610,7 @@243 echo "$as_me:$LINENO: checking for ld version" >&5244 echo $ECHO_N "checking for ld version... $ECHO_C" >&6245 246 - ldver=`$LD --version 2>/dev/null | head -1 | \ 247 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 248 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`249 250 glibcxx_gnu_ld_version=`echo $ldver | \ 251 @@ - 109089,7 +109089,7 @@252 echo "$as_me:$LINENO: checking for ld version" >&5253 echo $ECHO_N "checking for ld version... $ECHO_C" >&6254 255 - ldver=`$LD --version 2>/dev/null | head -1 | \ 256 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 257 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`258 259 glibcxx_gnu_ld_version=`echo $ldver | \ 260 @@ -1 09934,7 +109934,7 @@261 echo "$as_me:$LINENO: checking for ld version" >&5262 echo $ECHO_N "checking for ld version... $ECHO_C" >&6263 264 - ldver=`$LD --version 2>/dev/null | head -1 | \ 265 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 266 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`267 268 glibcxx_gnu_ld_version=`echo $ldver | \ 269 @@ -11 0828,7 +110828,7 @@270 echo "$as_me:$LINENO: checking for ld version" >&5271 echo $ECHO_N "checking for ld version... $ECHO_C" >&6272 273 - ldver=`$LD --version 2>/dev/null | head -1 | \ 274 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 275 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`276 277 glibcxx_gnu_ld_version=`echo $ldver | \ 278 @@ -112 114,7 +112114,7 @@279 echo "$as_me:$LINENO: checking for ld version" >&5280 echo $ECHO_N "checking for ld version... $ECHO_C" >&6281 282 - ldver=`$LD --version 2>/dev/null | head -1 | \ 283 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 284 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`285 286 glibcxx_gnu_ld_version=`echo $ldver | \ 287 @@ -1128 50,7 +112850,7 @@288 echo "$as_me:$LINENO: checking for ld version" >&5289 echo $ECHO_N "checking for ld version... $ECHO_C" >&6290 291 - ldver=`$LD --version 2>/dev/null | head -1 | \ 292 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 293 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`294 295 glibcxx_gnu_ld_version=`echo $ldver | \ 296 @@ -113 351,7 +113351,7 @@297 echo "$as_me:$LINENO: checking for ld version" >&5298 echo $ECHO_N "checking for ld version... $ECHO_C" >&6299 300 - ldver=`$LD --version 2>/dev/null | head -1 | \ 301 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 302 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`303 304 glibcxx_gnu_ld_version=`echo $ldver | \ 204 diff -Naur gcc-4.4.0.orig/libstdc++-v3/configure gcc-4.4.0/libstdc++-v3/configure 205 --- gcc-4.4.0.orig/libstdc++-v3/configure 2009-03-01 09:49:31.000000000 -0800 206 +++ gcc-4.4.0/libstdc++-v3/configure 2009-04-21 09:57:27.527186478 -0700 207 @@ -23489,7 +23489,7 @@ 208 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 209 glibcxx_ld_is_gold=yes 210 fi 211 - ldver=`$LD --version 2>/dev/null | head -1 | \ 212 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 213 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 214 215 glibcxx_gnu_ld_version=`echo $ldver | \ 216 @@ -42055,7 +42055,7 @@ 217 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 218 glibcxx_ld_is_gold=yes 219 fi 220 - ldver=`$LD --version 2>/dev/null | head -1 | \ 221 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 222 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 223 224 glibcxx_gnu_ld_version=`echo $ldver | \ 225 @@ -76333,7 +76333,7 @@ 226 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 227 glibcxx_ld_is_gold=yes 228 fi 229 - ldver=`$LD --version 2>/dev/null | head -1 | \ 230 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 231 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 232 233 glibcxx_gnu_ld_version=`echo $ldver | \ 234 @@ -76645,7 +76645,7 @@ 235 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 236 glibcxx_ld_is_gold=yes 237 fi 238 - ldver=`$LD --version 2>/dev/null | head -1 | \ 239 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 240 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 241 242 glibcxx_gnu_ld_version=`echo $ldver | \ 243 @@ -77328,7 +77328,7 @@ 244 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 245 glibcxx_ld_is_gold=yes 246 fi 247 - ldver=`$LD --version 2>/dev/null | head -1 | \ 248 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 249 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 250 251 glibcxx_gnu_ld_version=`echo $ldver | \ 252 @@ -95080,7 +95080,7 @@ 253 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 254 glibcxx_ld_is_gold=yes 255 fi 256 - ldver=`$LD --version 2>/dev/null | head -1 | \ 257 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 258 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 259 260 glibcxx_gnu_ld_version=`echo $ldver | \ 261 @@ -112274,7 +112274,7 @@ 262 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 263 glibcxx_ld_is_gold=yes 264 fi 265 - ldver=`$LD --version 2>/dev/null | head -1 | \ 266 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 267 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 268 269 glibcxx_gnu_ld_version=`echo $ldver | \ 270 @@ -112493,7 +112493,7 @@ 271 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 272 glibcxx_ld_is_gold=yes 273 fi 274 - ldver=`$LD --version 2>/dev/null | head -1 | \ 275 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 276 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 277 278 glibcxx_gnu_ld_version=`echo $ldver | \ 279 @@ -112678,7 +112678,7 @@ 280 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 281 glibcxx_ld_is_gold=yes 282 fi 283 - ldver=`$LD --version 2>/dev/null | head -1 | \ 284 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 285 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 286 287 glibcxx_gnu_ld_version=`echo $ldver | \ 288 @@ -112899,7 +112899,7 @@ 289 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 290 glibcxx_ld_is_gold=yes 291 fi 292 - ldver=`$LD --version 2>/dev/null | head -1 | \ 293 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 294 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 295 296 glibcxx_gnu_ld_version=`echo $ldver | \ 297 @@ -113121,7 +113121,7 @@ 298 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 299 glibcxx_ld_is_gold=yes 300 fi 301 - ldver=`$LD --version 2>/dev/null | head -1 | \ 302 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 303 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 304 305 glibcxx_gnu_ld_version=`echo $ldver | \ -
patches/gcc-4.4.0-pure64-1.patch
r77e17c8d r56a4eb5 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 0 1-25-20093 Initial Package Version: 4. 3.32 Date: 04-21-2009 3 Initial Package Version: 4.4.0 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for 5 5 the Pure LFS project. 6 6 Upstream Status: Not Applied 7 Description: This patch modifies the location of the dynamic linker for gcc-4. 3.3.7 Description: This patch modifies the location of the dynamic linker for gcc-4.4.0. 8 8 9 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/linux64.h gcc-4.3.3/gcc/config/i386/linux64.h10 --- gcc-4. 3.3.orig/gcc/config/i386/linux64.h 2007-08-02 03:49:31.000000000 -070011 +++ gcc-4. 3.3/gcc/config/i386/linux64.h 2009-01-25 00:49:04.956938399 -080012 @@ -5 3,8 +53,8 @@9 diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux64.h gcc-4.4.0/gcc/config/i386/linux64.h 10 --- gcc-4.4.0.orig/gcc/config/i386/linux64.h 2009-04-09 16:23:07.000000000 -0700 11 +++ gcc-4.4.0/gcc/config/i386/linux64.h 2009-04-21 10:12:45.639047632 -0700 12 @@ -58,8 +58,8 @@ 13 13 When the -shared link option is used a final link is not being 14 14 done. */ … … 19 19 +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2" 20 20 21 # if TARGET_64BIT_DEFAULT22 #define SPEC_32 "m32"23 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/t-linux64 gcc-4.3.3/gcc/config/i386/t-linux6424 --- gcc-4. 3.3.orig/gcc/config/i386/t-linux64 2007-09-27 12:56:06.000000000 -070025 +++ gcc-4. 3.3/gcc/config/i386/t-linux64 2009-01-25 00:49:11.211799413 -080026 @@ - 13,7 +13,7 @@21 #undef ASM_SPEC 22 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \ 23 diff -Naur gcc-4.4.0.orig/gcc/config/i386/t-linux64 gcc-4.4.0/gcc/config/i386/t-linux64 24 --- gcc-4.4.0.orig/gcc/config/i386/t-linux64 2008-07-02 08:59:19.000000000 -0700 25 +++ gcc-4.4.0/gcc/config/i386/t-linux64 2009-04-21 10:12:52.642213438 -0700 26 @@ -7,7 +7,7 @@ 27 27 28 28 MULTILIB_OPTIONS = m64/m32 … … 33 33 LIBGCC = stmp-multilib 34 34 INSTALL_LIBGCC = install-multilib 35 diff -Naur gcc-4. 3.3.orig/gcc/config/linux.h gcc-4.3.3/gcc/config/linux.h36 --- gcc-4. 3.3.orig/gcc/config/linux.h 2007-08-02 03:49:31.000000000 -070037 +++ gcc-4. 3.3/gcc/config/linux.h 2009-01-25 00:49:09.037979047 -080038 @@ -11 3,7 +113,7 @@35 diff -Naur gcc-4.4.0.orig/gcc/config/linux.h gcc-4.4.0/gcc/config/linux.h 36 --- gcc-4.4.0.orig/gcc/config/linux.h 2009-04-09 16:23:07.000000000 -0700 37 +++ gcc-4.4.0/gcc/config/linux.h 2009-04-21 10:12:49.548334684 -0700 38 @@ -118,7 +118,7 @@ 39 39 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets 40 40 supporting both 32-bit and 64-bit compilation. */ … … 45 45 #define LINUX_DYNAMIC_LINKER \ 46 46 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 47 diff -Naur gcc-4. 3.3.orig/gcc/config/mips/linux64.h gcc-4.3.3/gcc/config/mips/linux64.h48 --- gcc-4. 3.3.orig/gcc/config/mips/linux64.h 2007-08-02 03:49:31.000000000 -070049 +++ gcc-4. 3.3/gcc/config/mips/linux64.h 2009-01-25 00:49:09.124111188 -080050 @@ -3 8,10 +38,10 @@47 diff -Naur gcc-4.4.0.orig/gcc/config/mips/linux64.h gcc-4.4.0/gcc/config/mips/linux64.h 48 --- gcc-4.4.0.orig/gcc/config/mips/linux64.h 2009-02-20 07:20:38.000000000 -0800 49 +++ gcc-4.4.0/gcc/config/mips/linux64.h 2009-04-21 10:12:49.630265960 -0700 50 @@ -35,10 +35,10 @@ 51 51 %{!shared: \ 52 52 %{profile:-lc_p} %{!profile:-lc}}" … … 63 63 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 64 64 65 diff -Naur gcc-4. 3.3.orig/gcc/config/mips/t-linux64 gcc-4.3.3/gcc/config/mips/t-linux6466 --- gcc-4. 3.3.orig/gcc/config/mips/t-linux64 2006-06-06 05:51:24.000000000 -070067 +++ gcc-4. 3.3/gcc/config/mips/t-linux64 2009-01-25 00:49:11.265119430 -080065 diff -Naur gcc-4.4.0.orig/gcc/config/mips/t-linux64 gcc-4.4.0/gcc/config/mips/t-linux64 66 --- gcc-4.4.0.orig/gcc/config/mips/t-linux64 2006-06-06 05:51:24.000000000 -0700 67 +++ gcc-4.4.0/gcc/config/mips/t-linux64 2009-04-21 10:12:52.704637799 -0700 68 68 @@ -1,6 +1,6 @@ 69 69 MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64 … … 74 74 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 75 75 76 diff -Naur gcc-4. 3.3.orig/gcc/config/rs6000/linux64.h gcc-4.3.3/gcc/config/rs6000/linux64.h77 --- gcc-4. 3.3.orig/gcc/config/rs6000/linux64.h 2007-08-02 03:49:31.000000000 -070078 +++ gcc-4. 3.3/gcc/config/rs6000/linux64.h 2009-01-25 00:49:01.265542673 -080079 @@ -3 39,9 +339,9 @@76 diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/linux64.h gcc-4.4.0/gcc/config/rs6000/linux64.h 77 --- gcc-4.4.0.orig/gcc/config/rs6000/linux64.h 2009-04-09 16:23:07.000000000 -0700 78 +++ gcc-4.4.0/gcc/config/rs6000/linux64.h 2009-04-21 10:12:42.311081157 -0700 79 @@ -342,9 +342,9 @@ 80 80 #undef LINK_OS_DEFAULT_SPEC 81 81 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 90 90 #if UCLIBC_DEFAULT 91 91 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 92 diff -Naur gcc-4. 3.3.orig/gcc/config/rs6000/t-linux64 gcc-4.3.3/gcc/config/rs6000/t-linux6493 --- gcc-4. 3.3.orig/gcc/config/rs6000/t-linux64 2007-09-27 12:56:06.000000000 -070094 +++ gcc-4. 3.3/gcc/config/rs6000/t-linux64 2009-01-25 00:49:11.137970107 -080092 diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/t-linux64 gcc-4.4.0/gcc/config/rs6000/t-linux64 93 --- gcc-4.4.0.orig/gcc/config/rs6000/t-linux64 2007-09-27 12:56:06.000000000 -0700 94 +++ gcc-4.4.0/gcc/config/rs6000/t-linux64 2009-04-21 10:12:52.552479957 -0700 95 95 @@ -19,7 +19,7 @@ 96 96 MULTILIB_EXTRA_OPTS = fPIC mstrict-align … … 102 102 103 103 softfp_wrap_start := '\#ifndef __powerpc64__' 104 diff -Naur gcc-4. 3.3.orig/gcc/config/s390/linux.h gcc-4.3.3/gcc/config/s390/linux.h105 --- gcc-4. 3.3.orig/gcc/config/s390/linux.h 2007-08-02 03:49:31.000000000 -0700106 +++ gcc-4. 3.3/gcc/config/s390/linux.h 2009-01-25 00:49:04.058697303 -0800104 diff -Naur gcc-4.4.0.orig/gcc/config/s390/linux.h gcc-4.4.0/gcc/config/s390/linux.h 105 --- gcc-4.4.0.orig/gcc/config/s390/linux.h 2007-08-02 03:49:31.000000000 -0700 106 +++ gcc-4.4.0/gcc/config/s390/linux.h 2009-04-21 10:12:44.800229083 -0700 107 107 @@ -72,7 +72,7 @@ 108 108 #define MULTILIB_DEFAULTS { "m31" } … … 114 114 115 115 #undef LINK_SPEC 116 diff -Naur gcc-4. 3.3.orig/gcc/config/s390/t-linux64 gcc-4.3.3/gcc/config/s390/t-linux64117 --- gcc-4. 3.3.orig/gcc/config/s390/t-linux64 2006-02-06 09:41:54.000000000 -0800118 +++ gcc-4. 3.3/gcc/config/s390/t-linux64 2009-01-25 00:49:11.178985891 -0800116 diff -Naur gcc-4.4.0.orig/gcc/config/s390/t-linux64 gcc-4.4.0/gcc/config/s390/t-linux64 117 --- gcc-4.4.0.orig/gcc/config/s390/t-linux64 2006-02-06 09:41:54.000000000 -0800 118 +++ gcc-4.4.0/gcc/config/s390/t-linux64 2009-04-21 10:12:52.607098757 -0700 119 119 @@ -1,6 +1,6 @@ 120 120 MULTILIB_OPTIONS = m64/m31 … … 125 125 LIBGCC = stmp-multilib 126 126 INSTALL_LIBGCC = install-multilib 127 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/linux64.h gcc-4.3.3/gcc/config/sparc/linux64.h128 --- gcc-4. 3.3.orig/gcc/config/sparc/linux64.h 2007-10-18 21:29:38.000000000 -0700129 +++ gcc-4. 3.3/gcc/config/sparc/linux64.h 2009-01-25 00:49:10.604768822 -0800130 @@ -1 44,9 +144,9@@127 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux64.h gcc-4.4.0/gcc/config/sparc/linux64.h 128 --- gcc-4.4.0.orig/gcc/config/sparc/linux64.h 2009-02-20 07:20:38.000000000 -0800 129 +++ gcc-4.4.0/gcc/config/sparc/linux64.h 2009-04-21 10:12:52.029679006 -0700 130 @@ -109,8 +109,8 @@ 131 131 132 132 /* If ELF is the default format, we should not use /lib/elf. */ … … 134 134 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" 135 135 -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" 136 -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"137 136 +#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2" 138 137 +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux.so.2" 139 +#define UCLIBC_DYNAMIC_LINKER32 "/lib32/ld-uClibc.so.0" 140 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 141 #if UCLIBC_DEFAULT 142 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 143 @@ -167,7 +167,7 @@ 138 139 #ifdef SPARC_BI_ARCH 140 141 @@ -121,7 +121,7 @@ 144 142 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 145 143 { "link_arch", LINK_ARCH_SPEC }, 146 144 147 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P, /usr/lib %{shared:-shared} \148 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P, /usr/lib32 %{shared:-shared} \145 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \ 146 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib32 %{shared:-shared} \ 149 147 %{!shared: \ 150 148 %{!ibcs: \ 151 149 %{!static: \ 152 @@ -1 76,7 +176,7 @@150 @@ -130,7 +130,7 @@ 153 151 %{static:-static}}} \ 154 152 " 155 153 156 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P, /usr/lib64 %{shared:-shared} \157 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P, /usr/lib %{shared:-shared} \154 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ 155 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib %{shared:-shared} \ 158 156 %{!shared: \ 159 157 %{!ibcs: \ 160 158 %{!static: \ 161 @@ -2 57,7 +257,7 @@159 @@ -211,7 +211,7 @@ 162 160 #else /* !SPARC_BI_ARCH */ 163 161 164 162 #undef LINK_SPEC 165 -#define LINK_SPEC "-m elf64_sparc -Y P, /usr/lib64 %{shared:-shared} \166 +#define LINK_SPEC "-m elf64_sparc -Y P, /usr/lib %{shared:-shared} \163 -#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ 164 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib %{shared:-shared} \ 167 165 %{!shared: \ 168 166 %{!ibcs: \ 169 167 %{!static: \ 170 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/linux.h gcc-4.3.3/gcc/config/sparc/linux.h171 --- gcc-4. 3.3.orig/gcc/config/sparc/linux.h 2007-08-02 03:49:31.000000000 -0700172 +++ gcc-4. 3.3/gcc/config/sparc/linux.h 2009-01-25 00:49:10.863168878 -0800173 @@ - 132,7 +132,7 @@174 168 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux.h gcc-4.4.0/gcc/config/sparc/linux.h 169 --- gcc-4.4.0.orig/gcc/config/sparc/linux.h 2009-02-20 07:20:38.000000000 -0800 170 +++ gcc-4.4.0/gcc/config/sparc/linux.h 2009-04-21 10:12:52.271571169 -0700 171 @@ -86,7 +86,7 @@ 172 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 175 173 176 174 #undef LINK_SPEC … … 180 178 %{!shared: \ 181 179 %{!ibcs: \ 182 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/t-linux64 gcc-4.3.3/gcc/config/sparc/t-linux64183 --- gcc-4. 3.3.orig/gcc/config/sparc/t-linux64 2006-02-07 23:19:43.000000000 -0800184 +++ gcc-4. 3.3/gcc/config/sparc/t-linux64 2009-01-25 00:49:11.314338874 -0800180 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/t-linux64 gcc-4.4.0/gcc/config/sparc/t-linux64 181 --- gcc-4.4.0.orig/gcc/config/sparc/t-linux64 2006-02-07 23:19:43.000000000 -0800 182 +++ gcc-4.4.0/gcc/config/sparc/t-linux64 2009-04-21 10:12:52.755357174 -0700 185 183 @@ -1,6 +1,6 @@ 186 184 MULTILIB_OPTIONS = m64/m32 -
patches/gcc-4.4.0-pure64_specs-1.patch
r77e17c8d r56a4eb5 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 0 1-25-20093 Initial Package Version: 4. 3.32 Date: 04-21-2009 3 Initial Package Version: 4.4.0 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for 5 5 the Pure LFS project. 6 6 Upstream Status: Not Applied 7 Description: This patch modifies the location of the dynamic linker for gcc-4. 3.3.7 Description: This patch modifies the location of the dynamic linker for gcc-4.4.0. 8 8 9 diff -Naur gcc-4. 3.3.orig/gcc/config/alpha/gnu.h gcc-4.3.3/gcc/config/alpha/gnu.h10 --- gcc-4. 3.3.orig/gcc/config/alpha/gnu.h 2004-09-07 17:17:19.000000000 -070011 +++ gcc-4. 3.3/gcc/config/alpha/gnu.h 2009-01-25 00:46:43.363275038 -08009 diff -Naur gcc-4.4.0.orig/gcc/config/alpha/gnu.h gcc-4.4.0/gcc/config/alpha/gnu.h 10 --- gcc-4.4.0.orig/gcc/config/alpha/gnu.h 2004-09-07 17:17:19.000000000 -0700 11 +++ gcc-4.4.0/gcc/config/alpha/gnu.h 2009-04-21 10:09:46.008647019 -0700 12 12 @@ -11,7 +11,7 @@ 13 13 } while (0) … … 19 19 #undef STARTFILE_SPEC 20 20 #define STARTFILE_SPEC \ 21 diff -Naur gcc-4. 3.3.orig/gcc/config/alpha/linux-elf.h gcc-4.3.3/gcc/config/alpha/linux-elf.h22 --- gcc-4. 3.3.orig/gcc/config/alpha/linux-elf.h 2007-08-02 03:49:31.000000000 -070023 +++ gcc-4. 3.3/gcc/config/alpha/linux-elf.h 2009-01-25 00:46:43.506828048 -080021 diff -Naur gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h gcc-4.4.0/gcc/config/alpha/linux-elf.h 22 --- gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h 2007-08-02 03:49:31.000000000 -0700 23 +++ gcc-4.4.0/gcc/config/alpha/linux-elf.h 2009-04-21 10:09:46.121789915 -0700 24 24 @@ -27,8 +27,8 @@ 25 25 #define EXTRA_SPECS \ … … 33 33 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 34 34 #else 35 diff -Naur gcc-4. 3.3.orig/gcc/config/arm/linux-eabi.h gcc-4.3.3/gcc/config/arm/linux-eabi.h36 --- gcc-4. 3.3.orig/gcc/config/arm/linux-eabi.h 2007-11-08 05:44:09.000000000 -080037 +++ gcc-4. 3.3/gcc/config/arm/linux-eabi.h 2009-01-25 00:46:48.034939237 -080035 diff -Naur gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h gcc-4.4.0/gcc/config/arm/linux-eabi.h 36 --- gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h 2007-11-08 05:44:09.000000000 -0800 37 +++ gcc-4.4.0/gcc/config/arm/linux-eabi.h 2009-04-21 10:09:50.440732227 -0700 38 38 @@ -61,7 +61,7 @@ 39 39 /* Use ld-linux.so.3 so that it will be possible to run "classic" … … 45 45 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 46 46 use the GNU/Linux version, not the generic BPABI version. */ 47 diff -Naur gcc-4. 3.3.orig/gcc/config/arm/linux-elf.h gcc-4.3.3/gcc/config/arm/linux-elf.h48 --- gcc-4. 3.3.orig/gcc/config/arm/linux-elf.h 2007-11-08 05:44:09.000000000 -080049 +++ gcc-4. 3.3/gcc/config/arm/linux-elf.h 2009-01-25 00:46:47.747830702 -080047 diff -Naur gcc-4.4.0.orig/gcc/config/arm/linux-elf.h gcc-4.4.0/gcc/config/arm/linux-elf.h 48 --- gcc-4.4.0.orig/gcc/config/arm/linux-elf.h 2009-02-20 07:20:38.000000000 -0800 49 +++ gcc-4.4.0/gcc/config/arm/linux-elf.h 2009-04-21 10:09:50.233952787 -0700 50 50 @@ -62,7 +62,7 @@ 51 51 … … 57 57 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \ 58 58 %{b} \ 59 diff -Naur gcc-4. 3.3.orig/gcc/config/bfin/linux.h gcc-4.3.3/gcc/config/bfin/linux.h60 --- gcc-4. 3.3.orig/gcc/config/bfin/linux.h 2007-09-05 17:09:05.000000000 -070061 +++ gcc-4. 3.3/gcc/config/bfin/linux.h 2009-01-25 00:46:40.418363458 -080059 diff -Naur gcc-4.4.0.orig/gcc/config/bfin/linux.h gcc-4.4.0/gcc/config/bfin/linux.h 60 --- gcc-4.4.0.orig/gcc/config/bfin/linux.h 2008-11-27 01:11:50.000000000 -0800 61 +++ gcc-4.4.0/gcc/config/bfin/linux.h 2009-04-21 10:09:43.316621596 -0700 62 62 @@ -22,7 +22,7 @@ 63 63 %{shared:-G -Bdynamic} \ … … 69 69 70 70 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h" 71 diff -Naur gcc-4. 3.3.orig/gcc/config/cris/linux.h gcc-4.3.3/gcc/config/cris/linux.h72 --- gcc-4. 3.3.orig/gcc/config/cris/linux.h 2008-01-23 09:17:58.000000000 -080073 +++ gcc-4. 3.3/gcc/config/cris/linux.h 2009-01-25 00:46:38.092783349 -080074 @@ -10 2,7 +102,7 @@71 diff -Naur gcc-4.4.0.orig/gcc/config/cris/linux.h gcc-4.4.0/gcc/config/cris/linux.h 72 --- gcc-4.4.0.orig/gcc/config/cris/linux.h 2009-03-22 08:15:04.000000000 -0700 73 +++ gcc-4.4.0/gcc/config/cris/linux.h 2009-04-21 10:09:40.257856685 -0700 74 @@ -103,7 +103,7 @@ 75 75 #undef CRIS_DEFAULT_CPU_VERSION 76 76 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG … … 81 81 /* We need an -rpath-link to ld.so.1, and presumably to each directory 82 82 specified with -B. */ 83 diff -Naur gcc-4. 3.3.orig/gcc/config/frv/linux.h gcc-4.3.3/gcc/config/frv/linux.h84 --- gcc-4. 3.3.orig/gcc/config/frv/linux.h 2007-08-02 03:49:31.000000000 -070085 +++ gcc-4. 3.3/gcc/config/frv/linux.h 2009-01-25 00:46:37.813879592 -080083 diff -Naur gcc-4.4.0.orig/gcc/config/frv/linux.h gcc-4.4.0/gcc/config/frv/linux.h 84 --- gcc-4.4.0.orig/gcc/config/frv/linux.h 2007-08-02 03:49:31.000000000 -0700 85 +++ gcc-4.4.0/gcc/config/frv/linux.h 2009-04-21 10:09:39.996456769 -0700 86 86 @@ -35,7 +35,7 @@ 87 87 #define ENDFILE_SPEC \ … … 93 93 #undef LINK_SPEC 94 94 #define LINK_SPEC "\ 95 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/gnu.h gcc-4.3.3/gcc/config/i386/gnu.h96 --- gcc-4. 3.3.orig/gcc/config/i386/gnu.h 2007-08-07 23:35:17.000000000 -070097 +++ gcc-4. 3.3/gcc/config/i386/gnu.h 2009-01-25 00:46:40.849024165 -080098 @@ -2 2,7 +22,7 @@99 %{!shared: \100 %{!static: \101 %{rdynamic:-export-dynamic} \102 - %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \103 + %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so}} \104 %{static:-static}}"105 106 # undef STARTFILE_SPEC107 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/linux64.h gcc-4.3.3/gcc/config/i386/linux64.h108 --- gcc-4. 3.3.orig/gcc/config/i386/linux64.h 2007-08-02 03:49:31.000000000 -0700109 +++ gcc-4. 3.3/gcc/config/i386/linux64.h 2009-01-25 00:46:40.578323788 -0800110 @@ -5 3,8 +53,8 @@95 diff -Naur gcc-4.4.0.orig/gcc/config/i386/gnu.h gcc-4.4.0/gcc/config/i386/gnu.h 96 --- gcc-4.4.0.orig/gcc/config/i386/gnu.h 2008-11-13 15:28:46.000000000 -0800 97 +++ gcc-4.4.0/gcc/config/i386/gnu.h 2009-04-21 10:09:43.601430088 -0700 98 @@ -21,7 +21,7 @@ 99 */ 100 101 #undef GLIBC_DYNAMIC_LINKER 102 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so" 103 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so" 104 105 #undef TARGET_VERSION 106 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); 107 diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux64.h gcc-4.4.0/gcc/config/i386/linux64.h 108 --- gcc-4.4.0.orig/gcc/config/i386/linux64.h 2009-04-09 16:23:07.000000000 -0700 109 +++ gcc-4.4.0/gcc/config/i386/linux64.h 2009-04-21 10:09:43.480484706 -0700 110 @@ -58,8 +58,8 @@ 111 111 When the -shared link option is used a final link is not being 112 112 done. */ … … 117 117 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-linux-x86-64.so.2" 118 118 119 # if TARGET_64BIT_DEFAULT120 #define SPEC_32 "m32"121 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/linux.h gcc-4.3.3/gcc/config/i386/linux.h122 --- gcc-4. 3.3.orig/gcc/config/i386/linux.h 2007-11-27 17:04:27.000000000 -0800123 +++ gcc-4. 3.3/gcc/config/i386/linux.h 2009-01-25 00:46:42.161519765 -0800119 #undef ASM_SPEC 120 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \ 121 diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux.h gcc-4.4.0/gcc/config/i386/linux.h 122 --- gcc-4.4.0.orig/gcc/config/i386/linux.h 2009-02-20 07:20:38.000000000 -0800 123 +++ gcc-4.4.0/gcc/config/i386/linux.h 2009-04-21 10:09:44.806987009 -0700 124 124 @@ -100,7 +100,7 @@ 125 125 … … 129 129 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 130 130 131 #undef SUBTARGET_EXTRA_SPECS132 #define SUBTARGET_EXTRA_SPECS\133 diff -Naur gcc-4. 3.3.orig/gcc/config/ia64/linux.h gcc-4.3.3/gcc/config/ia64/linux.h134 --- gcc-4. 3.3.orig/gcc/config/ia64/linux.h 2006-12-12 07:15:19.000000000 -0800135 +++ gcc-4. 3.3/gcc/config/ia64/linux.h 2009-01-25 00:46:43.236127392 -0800131 #undef ASM_SPEC 132 #define ASM_SPEC \ 133 diff -Naur gcc-4.4.0.orig/gcc/config/ia64/linux.h gcc-4.4.0/gcc/config/ia64/linux.h 134 --- gcc-4.4.0.orig/gcc/config/ia64/linux.h 2009-02-12 08:30:53.000000000 -0800 135 +++ gcc-4.4.0/gcc/config/ia64/linux.h 2009-04-21 10:09:45.879897193 -0700 136 136 @@ -37,7 +37,7 @@ 137 137 /* Define this for shared library support because it isn't in the main … … 143 143 #undef LINK_SPEC 144 144 #define LINK_SPEC "\ 145 diff -Naur gcc-4.3.3.orig/gcc/config/linux.h gcc-4.3.3/gcc/config/linux.h 146 --- gcc-4.3.3.orig/gcc/config/linux.h 2007-08-02 03:49:31.000000000 -0700 147 +++ gcc-4.3.3/gcc/config/linux.h 2009-01-25 00:46:46.090803184 -0800 148 @@ -112,9 +112,9 @@ 145 diff -Naur gcc-4.4.0.orig/gcc/config/kopensolaris-gnu.h gcc-4.4.0/gcc/config/kopensolaris-gnu.h 146 --- gcc-4.4.0.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 10:48:41.000000000 -0800 147 +++ gcc-4.4.0/gcc/config/kopensolaris-gnu.h 2009-04-21 10:09:51.100084091 -0700 148 @@ -33,5 +33,5 @@ 149 150 #ifdef GLIBC_DYNAMIC_LINKER 151 #undef GLIBC_DYNAMIC_LINKER 152 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 153 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 154 #endif 155 diff -Naur gcc-4.4.0.orig/gcc/config/linux.h gcc-4.4.0/gcc/config/linux.h 156 --- gcc-4.4.0.orig/gcc/config/linux.h 2009-04-09 16:23:07.000000000 -0700 157 +++ gcc-4.4.0/gcc/config/linux.h 2009-04-21 10:09:48.591428691 -0700 158 @@ -117,9 +117,9 @@ 149 159 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or 150 160 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets … … 159 169 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 160 170 #define LINUX_DYNAMIC_LINKER32 \ 161 diff -Naur gcc-4. 3.3.orig/gcc/config/m32r/linux.h gcc-4.3.3/gcc/config/m32r/linux.h162 --- gcc-4. 3.3.orig/gcc/config/m32r/linux.h 2007-08-02 03:49:31.000000000 -0700163 +++ gcc-4. 3.3/gcc/config/m32r/linux.h 2009-01-25 00:46:40.180472971 -0800171 diff -Naur gcc-4.4.0.orig/gcc/config/m32r/linux.h gcc-4.4.0/gcc/config/m32r/linux.h 172 --- gcc-4.4.0.orig/gcc/config/m32r/linux.h 2007-08-02 03:49:31.000000000 -0700 173 +++ gcc-4.4.0/gcc/config/m32r/linux.h 2009-04-21 10:09:43.059122504 -0700 164 174 @@ -58,7 +58,7 @@ 165 175 … … 171 181 #undef LINK_SPEC 172 182 #if TARGET_LITTLE_ENDIAN 173 diff -Naur gcc-4. 3.3.orig/gcc/config/m68k/linux.h gcc-4.3.3/gcc/config/m68k/linux.h174 --- gcc-4. 3.3.orig/gcc/config/m68k/linux.h 2007-09-24 14:07:08.000000000 -0700175 +++ gcc-4. 3.3/gcc/config/m68k/linux.h 2009-01-25 00:46:38.769538482 -0800183 diff -Naur gcc-4.4.0.orig/gcc/config/m68k/linux.h gcc-4.4.0/gcc/config/m68k/linux.h 184 --- gcc-4.4.0.orig/gcc/config/m68k/linux.h 2007-09-24 14:07:08.000000000 -0700 185 +++ gcc-4.4.0/gcc/config/m68k/linux.h 2009-04-21 10:09:40.768950971 -0700 176 186 @@ -84,7 +84,7 @@ 177 187 … … 183 193 #undef LINK_SPEC 184 194 #define LINK_SPEC "-m m68kelf %{shared} \ 185 diff -Naur gcc-4. 3.3.orig/gcc/config/mips/linux64.h gcc-4.3.3/gcc/config/mips/linux64.h186 --- gcc-4. 3.3.orig/gcc/config/mips/linux64.h 2007-08-02 03:49:31.000000000 -0700187 +++ gcc-4. 3.3/gcc/config/mips/linux64.h 2009-01-25 00:46:46.197444615 -0800188 @@ -3 8,10 +38,10 @@195 diff -Naur gcc-4.4.0.orig/gcc/config/mips/linux64.h gcc-4.4.0/gcc/config/mips/linux64.h 196 --- gcc-4.4.0.orig/gcc/config/mips/linux64.h 2009-02-20 07:20:38.000000000 -0800 197 +++ gcc-4.4.0/gcc/config/mips/linux64.h 2009-04-21 10:09:48.700669088 -0700 198 @@ -35,10 +35,10 @@ 189 199 %{!shared: \ 190 200 %{profile:-lc_p} %{!profile:-lc}}" … … 201 211 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 202 212 203 diff -Naur gcc-4. 3.3.orig/gcc/config/mips/linux.h gcc-4.3.3/gcc/config/mips/linux.h204 --- gcc-4. 3.3.orig/gcc/config/mips/linux.h 2007-10-21 02:20:49.000000000 -0700205 +++ gcc-4. 3.3/gcc/config/mips/linux.h 2009-01-25 00:46:46.685527587 -0800213 diff -Naur gcc-4.4.0.orig/gcc/config/mips/linux.h gcc-4.4.0/gcc/config/mips/linux.h 214 --- gcc-4.4.0.orig/gcc/config/mips/linux.h 2009-02-20 07:20:38.000000000 -0800 215 +++ gcc-4.4.0/gcc/config/mips/linux.h 2009-04-21 10:09:49.211763096 -0700 206 216 @@ -64,7 +64,7 @@ 207 217 #undef MIPS_DEFAULT_GVALUE … … 213 223 /* Borrowed from sparc/linux.h */ 214 224 #undef LINK_SPEC 215 diff -Naur gcc-4. 3.3.orig/gcc/config/mn10300/linux.h gcc-4.3.3/gcc/config/mn10300/linux.h216 --- gcc-4. 3.3.orig/gcc/config/mn10300/linux.h 2007-08-02 03:49:31.000000000 -0700217 +++ gcc-4. 3.3/gcc/config/mn10300/linux.h 2009-01-25 00:46:47.091582902 -0800225 diff -Naur gcc-4.4.0.orig/gcc/config/mn10300/linux.h gcc-4.4.0/gcc/config/mn10300/linux.h 226 --- gcc-4.4.0.orig/gcc/config/mn10300/linux.h 2007-08-02 03:49:31.000000000 -0700 227 +++ gcc-4.4.0/gcc/config/mn10300/linux.h 2009-04-21 10:09:49.613617265 -0700 218 228 @@ -32,7 +32,7 @@ 219 229 #undef ASM_SPEC … … 225 235 #undef LINK_SPEC 226 236 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ 227 diff -Naur gcc-4. 3.3.orig/gcc/config/pa/pa-linux.h gcc-4.3.3/gcc/config/pa/pa-linux.h228 --- gcc-4. 3.3.orig/gcc/config/pa/pa-linux.h 2007-08-02 03:49:31.000000000 -0700229 +++ gcc-4. 3.3/gcc/config/pa/pa-linux.h 2009-01-25 00:46:45.143347394 -0800237 diff -Naur gcc-4.4.0.orig/gcc/config/pa/pa-linux.h gcc-4.4.0/gcc/config/pa/pa-linux.h 238 --- gcc-4.4.0.orig/gcc/config/pa/pa-linux.h 2007-08-02 03:49:31.000000000 -0700 239 +++ gcc-4.4.0/gcc/config/pa/pa-linux.h 2009-04-21 10:09:47.709694092 -0700 230 240 @@ -44,7 +44,7 @@ 231 241 /* Define this for shared library support because it isn't in the main … … 237 247 #undef LINK_SPEC 238 248 #define LINK_SPEC "\ 239 diff -Naur gcc-4. 3.3.orig/gcc/config/rs6000/linux64.h gcc-4.3.3/gcc/config/rs6000/linux64.h240 --- gcc-4. 3.3.orig/gcc/config/rs6000/linux64.h 2007-08-02 03:49:31.000000000 -0700241 +++ gcc-4. 3.3/gcc/config/rs6000/linux64.h 2009-01-25 00:46:36.037907528 -0800242 @@ -3 39,10 +339,10 @@249 diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/linux64.h gcc-4.4.0/gcc/config/rs6000/linux64.h 250 --- gcc-4.4.0.orig/gcc/config/rs6000/linux64.h 2009-04-09 16:23:07.000000000 -0700 251 +++ gcc-4.4.0/gcc/config/rs6000/linux64.h 2009-04-21 10:09:38.246016484 -0700 252 @@ -342,10 +342,10 @@ 243 253 #undef LINK_OS_DEFAULT_SPEC 244 254 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 255 265 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 256 266 #else 257 diff -Naur gcc-4. 3.3.orig/gcc/config/rs6000/sysv4.h gcc-4.3.3/gcc/config/rs6000/sysv4.h258 --- gcc-4. 3.3.orig/gcc/config/rs6000/sysv4.h 2007-08-08 12:33:24.000000000 -0700259 +++ gcc-4. 3.3/gcc/config/rs6000/sysv4.h 2009-01-25 00:46:36.316812403 -0800260 @@ - 891,8 +891,8 @@267 diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/sysv4.h gcc-4.4.0/gcc/config/rs6000/sysv4.h 268 --- gcc-4.4.0.orig/gcc/config/rs6000/sysv4.h 2009-04-09 16:23:07.000000000 -0700 269 +++ gcc-4.4.0/gcc/config/rs6000/sysv4.h 2009-04-21 10:09:38.529498813 -0700 270 @@ -901,8 +901,8 @@ 261 271 262 272 #define LINK_START_LINUX_SPEC "" … … 269 279 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 270 280 #else 271 @@ -9 34,7 +934,7 @@281 @@ -944,7 +944,7 @@ 272 282 273 283 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \ … … 278 288 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 279 289 %{!undef: \ 280 diff -Naur gcc-4. 3.3.orig/gcc/config/s390/linux.h gcc-4.3.3/gcc/config/s390/linux.h281 --- gcc-4. 3.3.orig/gcc/config/s390/linux.h 2007-08-02 03:49:31.000000000 -0700282 +++ gcc-4. 3.3/gcc/config/s390/linux.h 2009-01-25 00:46:39.536529682 -0800290 diff -Naur gcc-4.4.0.orig/gcc/config/s390/linux.h gcc-4.4.0/gcc/config/s390/linux.h 291 --- gcc-4.4.0.orig/gcc/config/s390/linux.h 2007-08-02 03:49:31.000000000 -0700 292 +++ gcc-4.4.0/gcc/config/s390/linux.h 2009-04-21 10:09:42.454394469 -0700 283 293 @@ -72,8 +72,8 @@ 284 294 #define MULTILIB_DEFAULTS { "m31" } … … 292 302 #undef LINK_SPEC 293 303 #define LINK_SPEC \ 294 diff -Naur gcc-4. 3.3.orig/gcc/config/sh/linux.h gcc-4.3.3/gcc/config/sh/linux.h295 --- gcc-4. 3.3.orig/gcc/config/sh/linux.h 2007-08-02 03:49:31.000000000 -0700296 +++ gcc-4. 3.3/gcc/config/sh/linux.h 2009-01-25 00:46:44.454287190 -0800304 diff -Naur gcc-4.4.0.orig/gcc/config/sh/linux.h gcc-4.4.0/gcc/config/sh/linux.h 305 --- gcc-4.4.0.orig/gcc/config/sh/linux.h 2007-08-02 03:49:31.000000000 -0700 306 +++ gcc-4.4.0/gcc/config/sh/linux.h 2009-04-21 10:09:47.046441123 -0700 297 307 @@ -47,7 +47,7 @@ 298 308 … … 304 314 #undef SUBTARGET_LINK_EMUL_SUFFIX 305 315 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" 306 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/linux64.h gcc-4.3.3/gcc/config/sparc/linux64.h307 --- gcc-4. 3.3.orig/gcc/config/sparc/linux64.h 2007-10-18 21:29:38.000000000 -0700308 +++ gcc-4. 3.3/gcc/config/sparc/linux64.h 2009-01-25 00:46:48.145679843 -0800309 @@ -1 44,10 +144,10@@316 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux64.h gcc-4.4.0/gcc/config/sparc/linux64.h 317 --- gcc-4.4.0.orig/gcc/config/sparc/linux64.h 2009-02-20 07:20:38.000000000 -0800 318 +++ gcc-4.4.0/gcc/config/sparc/linux64.h 2009-04-21 10:09:50.518762676 -0700 319 @@ -109,8 +109,8 @@ 310 320 311 321 /* If ELF is the default format, we should not use /lib/elf. */ … … 313 323 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" 314 324 -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" 315 -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"316 -#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"317 325 +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld-linux.so.2" 318 326 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-linux.so.2" 319 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib32/ld-uClibc.so.0" 320 +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 321 #if UCLIBC_DEFAULT 322 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 323 #else 324 @@ -167,7 +167,7 @@ 327 328 #ifdef SPARC_BI_ARCH 329 330 @@ -121,7 +121,7 @@ 325 331 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 326 332 { "link_arch", LINK_ARCH_SPEC }, 327 333 328 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P, /usr/lib %{shared:-shared} \329 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P, /tools/lib32 %{shared:-shared} \334 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \ 335 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib32 %{shared:-shared} \ 330 336 %{!shared: \ 331 337 %{!ibcs: \ 332 338 %{!static: \ 333 @@ -1 76,7 +176,7 @@339 @@ -130,7 +130,7 @@ 334 340 %{static:-static}}} \ 335 341 " 336 342 337 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P, /usr/lib64 %{shared:-shared} \338 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P, /tools/lib %{shared:-shared} \343 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ 344 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib %{shared:-shared} \ 339 345 %{!shared: \ 340 346 %{!ibcs: \ 341 347 %{!static: \ 342 @@ -2 57,7 +257,7 @@348 @@ -211,7 +211,7 @@ 343 349 #else /* !SPARC_BI_ARCH */ 344 350 345 351 #undef LINK_SPEC 346 -#define LINK_SPEC "-m elf64_sparc -Y P, /usr/lib64 %{shared:-shared} \347 +#define LINK_SPEC "-m elf64_sparc -Y P, /tools/lib %{shared:-shared} \352 -#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ 353 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib %{shared:-shared} \ 348 354 %{!shared: \ 349 355 %{!ibcs: \ 350 356 %{!static: \ 351 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/linux.h gcc-4.3.3/gcc/config/sparc/linux.h352 --- gcc-4. 3.3.orig/gcc/config/sparc/linux.h 2007-08-02 03:49:31.000000000 -0700353 +++ gcc-4. 3.3/gcc/config/sparc/linux.h 2009-01-25 00:46:48.494310657 -0800354 @@ - 120,8 +120,8@@357 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux.h gcc-4.4.0/gcc/config/sparc/linux.h 358 --- gcc-4.4.0.orig/gcc/config/sparc/linux.h 2009-02-20 07:20:38.000000000 -0800 359 +++ gcc-4.4.0/gcc/config/sparc/linux.h 2009-04-21 10:09:50.838684733 -0700 360 @@ -83,10 +83,10 @@ 355 361 356 362 /* If ELF is the default format, we should not use /lib/elf. */ 357 363 358 364 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 359 -#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" 360 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 361 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 362 #if UCLIBC_DEFAULT 363 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 364 #else 365 @@ -132,7 +132,7 @@ 366 365 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 367 366 368 367 #undef LINK_SPEC … … 372 371 %{!shared: \ 373 372 %{!ibcs: \ 374 diff -Naur gcc-4. 3.3.orig/gcc/config/xtensa/linux.h gcc-4.3.3/gcc/config/xtensa/linux.h375 --- gcc-4. 3.3.orig/gcc/config/xtensa/linux.h 2008-01-17 17:37:53.000000000 -0800376 +++ gcc-4. 3.3/gcc/config/xtensa/linux.h 2009-01-25 00:46:37.658018717 -0800373 diff -Naur gcc-4.4.0.orig/gcc/config/xtensa/linux.h gcc-4.4.0/gcc/config/xtensa/linux.h 374 --- gcc-4.4.0.orig/gcc/config/xtensa/linux.h 2008-01-17 17:37:53.000000000 -0800 375 +++ gcc-4.4.0/gcc/config/xtensa/linux.h 2009-04-21 10:09:39.836497556 -0700 377 376 @@ -43,7 +43,7 @@ 378 377 %{mlongcalls:--longcalls} \ -
patches/gcc-4.4.0-specs-1.patch
r77e17c8d r56a4eb5 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 0 1-25-20093 Initial Package Version: 4. 3.32 Date: 04-21-2009 3 Initial Package Version: 4.4.0 4 4 Origin: Idea originally developed by Ryan Oliver and Greg Schafer for 5 5 the Pure LFS project. 6 6 Upstream Status: Not Applied 7 Description: This patch modifies the location of the dynamic linker for gcc-4. 3.3.7 Description: This patch modifies the location of the dynamic linker for gcc-4.4.0. 8 8 9 diff -Naur gcc-4. 3.3.orig/gcc/config/alpha/gnu.h gcc-4.3.3/gcc/config/alpha/gnu.h10 --- gcc-4. 3.3.orig/gcc/config/alpha/gnu.h 2004-09-07 17:17:19.000000000 -070011 +++ gcc-4. 3.3/gcc/config/alpha/gnu.h 2009-01-25 00:44:15.387601620 -08009 diff -Naur gcc-4.4.0.orig/gcc/config/alpha/gnu.h gcc-4.4.0/gcc/config/alpha/gnu.h 10 --- gcc-4.4.0.orig/gcc/config/alpha/gnu.h 2004-09-07 17:17:19.000000000 -0700 11 +++ gcc-4.4.0/gcc/config/alpha/gnu.h 2009-04-21 10:05:33.058642828 -0700 12 12 @@ -11,7 +11,7 @@ 13 13 } while (0) … … 19 19 #undef STARTFILE_SPEC 20 20 #define STARTFILE_SPEC \ 21 diff -Naur gcc-4. 3.3.orig/gcc/config/alpha/linux-elf.h gcc-4.3.3/gcc/config/alpha/linux-elf.h22 --- gcc-4. 3.3.orig/gcc/config/alpha/linux-elf.h 2007-08-02 03:49:31.000000000 -070023 +++ gcc-4. 3.3/gcc/config/alpha/linux-elf.h 2009-01-25 00:44:15.527054895 -080021 diff -Naur gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h gcc-4.4.0/gcc/config/alpha/linux-elf.h 22 --- gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h 2007-08-02 03:49:31.000000000 -0700 23 +++ gcc-4.4.0/gcc/config/alpha/linux-elf.h 2009-04-21 10:05:33.167886578 -0700 24 24 @@ -27,8 +27,8 @@ 25 25 #define EXTRA_SPECS \ … … 33 33 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 34 34 #else 35 diff -Naur gcc-4. 3.3.orig/gcc/config/arm/linux-eabi.h gcc-4.3.3/gcc/config/arm/linux-eabi.h36 --- gcc-4. 3.3.orig/gcc/config/arm/linux-eabi.h 2007-11-08 05:44:09.000000000 -080037 +++ gcc-4. 3.3/gcc/config/arm/linux-eabi.h 2009-01-25 00:44:20.001844391 -080035 diff -Naur gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h gcc-4.4.0/gcc/config/arm/linux-eabi.h 36 --- gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h 2007-11-08 05:44:09.000000000 -0800 37 +++ gcc-4.4.0/gcc/config/arm/linux-eabi.h 2009-04-21 10:05:37.592169299 -0700 38 38 @@ -61,7 +61,7 @@ 39 39 /* Use ld-linux.so.3 so that it will be possible to run "classic" … … 45 45 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 46 46 use the GNU/Linux version, not the generic BPABI version. */ 47 diff -Naur gcc-4. 3.3.orig/gcc/config/arm/linux-elf.h gcc-4.3.3/gcc/config/arm/linux-elf.h48 --- gcc-4. 3.3.orig/gcc/config/arm/linux-elf.h 2007-11-08 05:44:09.000000000 -080049 +++ gcc-4. 3.3/gcc/config/arm/linux-elf.h 2009-01-25 00:44:19.714736136 -080047 diff -Naur gcc-4.4.0.orig/gcc/config/arm/linux-elf.h gcc-4.4.0/gcc/config/arm/linux-elf.h 48 --- gcc-4.4.0.orig/gcc/config/arm/linux-elf.h 2009-02-20 07:20:38.000000000 -0800 49 +++ gcc-4.4.0/gcc/config/arm/linux-elf.h 2009-04-21 10:05:37.389291242 -0700 50 50 @@ -62,7 +62,7 @@ 51 51 … … 57 57 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \ 58 58 %{b} \ 59 diff -Naur gcc-4. 3.3.orig/gcc/config/bfin/linux.h gcc-4.3.3/gcc/config/bfin/linux.h60 --- gcc-4. 3.3.orig/gcc/config/bfin/linux.h 2007-09-05 17:09:05.000000000 -070061 +++ gcc-4. 3.3/gcc/config/bfin/linux.h 2009-01-25 00:44:12.614954881 -080059 diff -Naur gcc-4.4.0.orig/gcc/config/bfin/linux.h gcc-4.4.0/gcc/config/bfin/linux.h 60 --- gcc-4.4.0.orig/gcc/config/bfin/linux.h 2008-11-27 01:11:50.000000000 -0800 61 +++ gcc-4.4.0/gcc/config/bfin/linux.h 2009-04-21 10:05:29.793102668 -0700 62 62 @@ -22,7 +22,7 @@ 63 63 %{shared:-G -Bdynamic} \ … … 69 69 70 70 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h" 71 diff -Naur gcc-4. 3.3.orig/gcc/config/cris/linux.h gcc-4.3.3/gcc/config/cris/linux.h72 --- gcc-4. 3.3.orig/gcc/config/cris/linux.h 2008-01-23 09:17:58.000000000 -080073 +++ gcc-4. 3.3/gcc/config/cris/linux.h 2009-01-25 00:44:10.547772593 -080074 @@ -10 2,7 +102,7 @@71 diff -Naur gcc-4.4.0.orig/gcc/config/cris/linux.h gcc-4.4.0/gcc/config/cris/linux.h 72 --- gcc-4.4.0.orig/gcc/config/cris/linux.h 2009-03-22 08:15:04.000000000 -0700 73 +++ gcc-4.4.0/gcc/config/cris/linux.h 2009-04-21 10:05:27.167401313 -0700 74 @@ -103,7 +103,7 @@ 75 75 #undef CRIS_DEFAULT_CPU_VERSION 76 76 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG … … 81 81 /* We need an -rpath-link to ld.so.1, and presumably to each directory 82 82 specified with -B. */ 83 diff -Naur gcc-4. 3.3.orig/gcc/config/frv/linux.h gcc-4.3.3/gcc/config/frv/linux.h84 --- gcc-4. 3.3.orig/gcc/config/frv/linux.h 2007-08-02 03:49:31.000000000 -070085 +++ gcc-4. 3.3/gcc/config/frv/linux.h 2009-01-25 00:44:10.199141500 -080083 diff -Naur gcc-4.4.0.orig/gcc/config/frv/linux.h gcc-4.4.0/gcc/config/frv/linux.h 84 --- gcc-4.4.0.orig/gcc/config/frv/linux.h 2007-08-02 03:49:31.000000000 -0700 85 +++ gcc-4.4.0/gcc/config/frv/linux.h 2009-04-21 10:05:26.843578992 -0700 86 86 @@ -35,7 +35,7 @@ 87 87 #define ENDFILE_SPEC \ … … 93 93 #undef LINK_SPEC 94 94 #define LINK_SPEC "\ 95 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/gnu.h gcc-4.3.3/gcc/config/i386/gnu.h96 --- gcc-4. 3.3.orig/gcc/config/i386/gnu.h 2007-08-07 23:35:17.000000000 -070097 +++ gcc-4. 3.3/gcc/config/i386/gnu.h 2009-01-25 00:44:12.893860874 -080098 @@ -2 2,7 +22,7 @@99 %{!shared: \100 %{!static: \101 %{rdynamic:-export-dynamic} \102 - %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \103 + %{!dynamic-linker:-dynamic-linker /tools/lib/ld.so}} \104 %{static:-static}}"105 106 # undef STARTFILE_SPEC107 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/linux64.h gcc-4.3.3/gcc/config/i386/linux64.h108 --- gcc-4. 3.3.orig/gcc/config/i386/linux64.h 2007-08-02 03:49:31.000000000 -0700109 +++ gcc-4. 3.3/gcc/config/i386/linux64.h 2009-01-25 00:44:12.770812683 -0800110 @@ -5 3,8 +53,8 @@95 diff -Naur gcc-4.4.0.orig/gcc/config/i386/gnu.h gcc-4.4.0/gcc/config/i386/gnu.h 96 --- gcc-4.4.0.orig/gcc/config/i386/gnu.h 2008-11-13 15:28:46.000000000 -0800 97 +++ gcc-4.4.0/gcc/config/i386/gnu.h 2009-04-21 10:05:30.113024445 -0700 98 @@ -21,7 +21,7 @@ 99 */ 100 101 #undef GLIBC_DYNAMIC_LINKER 102 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so" 103 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so" 104 105 #undef TARGET_VERSION 106 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); 107 diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux64.h gcc-4.4.0/gcc/config/i386/linux64.h 108 --- gcc-4.4.0.orig/gcc/config/i386/linux64.h 2009-04-09 16:23:07.000000000 -0700 109 +++ gcc-4.4.0/gcc/config/i386/linux64.h 2009-04-21 10:05:29.968667692 -0700 110 @@ -58,8 +58,8 @@ 111 111 When the -shared link option is used a final link is not being 112 112 done. */ … … 117 117 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2" 118 118 119 # if TARGET_64BIT_DEFAULT120 #define SPEC_32 "m32"121 diff -Naur gcc-4. 3.3.orig/gcc/config/i386/linux.h gcc-4.3.3/gcc/config/i386/linux.h122 --- gcc-4. 3.3.orig/gcc/config/i386/linux.h 2007-11-27 17:04:27.000000000 -0800123 +++ gcc-4. 3.3/gcc/config/i386/linux.h 2009-01-25 00:44:14.194051683 -0800119 #undef ASM_SPEC 120 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \ 121 diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux.h gcc-4.4.0/gcc/config/i386/linux.h 122 --- gcc-4.4.0.orig/gcc/config/i386/linux.h 2009-02-20 07:20:38.000000000 -0800 123 +++ gcc-4.4.0/gcc/config/i386/linux.h 2009-04-21 10:05:31.665813103 -0700 124 124 @@ -100,7 +100,7 @@ 125 125 … … 129 129 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 130 130 131 #undef SUBTARGET_EXTRA_SPECS132 #define SUBTARGET_EXTRA_SPECS\133 diff -Naur gcc-4. 3.3.orig/gcc/config/ia64/linux.h gcc-4.3.3/gcc/config/ia64/linux.h134 --- gcc-4. 3.3.orig/gcc/config/ia64/linux.h 2006-12-12 07:15:19.000000000 -0800135 +++ gcc-4. 3.3/gcc/config/ia64/linux.h 2009-01-25 00:44:15.260453415 -0800131 #undef ASM_SPEC 132 #define ASM_SPEC \ 133 diff -Naur gcc-4.4.0.orig/gcc/config/ia64/linux.h gcc-4.4.0/gcc/config/ia64/linux.h 134 --- gcc-4.4.0.orig/gcc/config/ia64/linux.h 2009-02-12 08:30:53.000000000 -0800 135 +++ gcc-4.4.0/gcc/config/ia64/linux.h 2009-04-21 10:05:32.933795782 -0700 136 136 @@ -37,7 +37,7 @@ 137 137 /* Define this for shared library support because it isn't in the main … … 143 143 #undef LINK_SPEC 144 144 #define LINK_SPEC "\ 145 diff -Naur gcc-4.3.3.orig/gcc/config/linux.h gcc-4.3.3/gcc/config/linux.h 146 --- gcc-4.3.3.orig/gcc/config/linux.h 2007-08-02 03:49:31.000000000 -0700 147 +++ gcc-4.3.3/gcc/config/linux.h 2009-01-25 00:44:18.070013688 -0800 148 @@ -112,9 +112,9 @@ 145 diff -Naur gcc-4.4.0.orig/gcc/config/kopensolaris-gnu.h gcc-4.4.0/gcc/config/kopensolaris-gnu.h 146 --- gcc-4.4.0.orig/gcc/config/kopensolaris-gnu.h 2009-01-29 10:48:41.000000000 -0800 147 +++ gcc-4.4.0/gcc/config/kopensolaris-gnu.h 2009-04-21 10:05:38.232013132 -0700 148 @@ -33,5 +33,5 @@ 149 150 #ifdef GLIBC_DYNAMIC_LINKER 151 #undef GLIBC_DYNAMIC_LINKER 152 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 153 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 154 #endif 155 diff -Naur gcc-4.4.0.orig/gcc/config/linux.h gcc-4.4.0/gcc/config/linux.h 156 --- gcc-4.4.0.orig/gcc/config/linux.h 2009-04-09 16:23:07.000000000 -0700 157 +++ gcc-4.4.0/gcc/config/linux.h 2009-04-21 10:05:35.793583462 -0700 158 @@ -117,9 +117,9 @@ 149 159 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or 150 160 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets … … 159 169 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 160 170 #define LINUX_DYNAMIC_LINKER32 \ 161 diff -Naur gcc-4. 3.3.orig/gcc/config/m32r/linux.h gcc-4.3.3/gcc/config/m32r/linux.h162 --- gcc-4. 3.3.orig/gcc/config/m32r/linux.h 2007-08-02 03:49:31.000000000 -0700163 +++ gcc-4. 3.3/gcc/config/m32r/linux.h 2009-01-25 00:44:12.389370023 -0800171 diff -Naur gcc-4.4.0.orig/gcc/config/m32r/linux.h gcc-4.4.0/gcc/config/m32r/linux.h 172 --- gcc-4.4.0.orig/gcc/config/m32r/linux.h 2007-08-02 03:49:31.000000000 -0700 173 +++ gcc-4.4.0/gcc/config/m32r/linux.h 2009-04-21 10:05:29.512193603 -0700 164 174 @@ -58,7 +58,7 @@ 165 175 … … 171 181 #undef LINK_SPEC 172 182 #if TARGET_LITTLE_ENDIAN 173 diff -Naur gcc-4. 3.3.orig/gcc/config/m68k/linux.h gcc-4.3.3/gcc/config/m68k/linux.h174 --- gcc-4. 3.3.orig/gcc/config/m68k/linux.h 2007-09-24 14:07:08.000000000 -0700175 +++ gcc-4. 3.3/gcc/config/m68k/linux.h 2009-01-25 00:44:11.044059784 -0800183 diff -Naur gcc-4.4.0.orig/gcc/config/m68k/linux.h gcc-4.4.0/gcc/config/m68k/linux.h 184 --- gcc-4.4.0.orig/gcc/config/m68k/linux.h 2007-09-24 14:07:08.000000000 -0700 185 +++ gcc-4.4.0/gcc/config/m68k/linux.h 2009-04-21 10:05:27.799443777 -0700 176 186 @@ -84,7 +84,7 @@ 177 187 … … 183 193 #undef LINK_SPEC 184 194 #define LINK_SPEC "-m m68kelf %{shared} \ 185 diff -Naur gcc-4. 3.3.orig/gcc/config/mips/linux64.h gcc-4.3.3/gcc/config/mips/linux64.h186 --- gcc-4. 3.3.orig/gcc/config/mips/linux64.h 2007-08-02 03:49:31.000000000 -0700187 +++ gcc-4. 3.3/gcc/config/mips/linux64.h 2009-01-25 00:44:18.176655119 -0800188 @@ -3 8,10 +38,10 @@195 diff -Naur gcc-4.4.0.orig/gcc/config/mips/linux64.h gcc-4.4.0/gcc/config/mips/linux64.h 196 --- gcc-4.4.0.orig/gcc/config/mips/linux64.h 2009-02-20 07:20:38.000000000 -0800 197 +++ gcc-4.4.0/gcc/config/mips/linux64.h 2009-04-21 10:05:35.898926387 -0700 198 @@ -35,10 +35,10 @@ 189 199 %{!shared: \ 190 200 %{profile:-lc_p} %{!profile:-lc}}" … … 201 211 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 202 212 203 diff -Naur gcc-4. 3.3.orig/gcc/config/mips/linux.h gcc-4.3.3/gcc/config/mips/linux.h204 --- gcc-4. 3.3.orig/gcc/config/mips/linux.h 2007-10-21 02:20:49.000000000 -0700205 +++ gcc-4. 3.3/gcc/config/mips/linux.h 2009-01-25 00:44:18.652435256 -0800213 diff -Naur gcc-4.4.0.orig/gcc/config/mips/linux.h gcc-4.4.0/gcc/config/mips/linux.h 214 --- gcc-4.4.0.orig/gcc/config/mips/linux.h 2009-02-20 07:20:38.000000000 -0800 215 +++ gcc-4.4.0/gcc/config/mips/linux.h 2009-04-21 10:05:36.394414304 -0700 206 216 @@ -64,7 +64,7 @@ 207 217 #undef MIPS_DEFAULT_GVALUE … … 213 223 /* Borrowed from sparc/linux.h */ 214 224 #undef LINK_SPEC 215 diff -Naur gcc-4. 3.3.orig/gcc/config/mn10300/linux.h gcc-4.3.3/gcc/config/mn10300/linux.h216 --- gcc-4. 3.3.orig/gcc/config/mn10300/linux.h 2007-08-02 03:49:31.000000000 -0700217 +++ gcc-4. 3.3/gcc/config/mn10300/linux.h 2009-01-25 00:44:19.054386646 -0800225 diff -Naur gcc-4.4.0.orig/gcc/config/mn10300/linux.h gcc-4.4.0/gcc/config/mn10300/linux.h 226 --- gcc-4.4.0.orig/gcc/config/mn10300/linux.h 2007-08-02 03:49:31.000000000 -0700 227 +++ gcc-4.4.0/gcc/config/mn10300/linux.h 2009-04-21 10:05:36.792364856 -0700 218 228 @@ -32,7 +32,7 @@ 219 229 #undef ASM_SPEC … … 225 235 #undef LINK_SPEC 226 236 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ 227 diff -Naur gcc-4. 3.3.orig/gcc/config/pa/pa-linux.h gcc-4.3.3/gcc/config/pa/pa-linux.h228 --- gcc-4. 3.3.orig/gcc/config/pa/pa-linux.h 2007-08-02 03:49:31.000000000 -0700229 +++ gcc-4. 3.3/gcc/config/pa/pa-linux.h 2009-01-25 00:44:17.138963542 -0800237 diff -Naur gcc-4.4.0.orig/gcc/config/pa/pa-linux.h gcc-4.4.0/gcc/config/pa/pa-linux.h 238 --- gcc-4.4.0.orig/gcc/config/pa/pa-linux.h 2007-08-02 03:49:31.000000000 -0700 239 +++ gcc-4.4.0/gcc/config/pa/pa-linux.h 2009-04-21 10:05:34.931355497 -0700 230 240 @@ -44,7 +44,7 @@ 231 241 /* Define this for shared library support because it isn't in the main … … 237 247 #undef LINK_SPEC 238 248 #define LINK_SPEC "\ 239 diff -Naur gcc-4. 3.3.orig/gcc/config/rs6000/linux64.h gcc-4.3.3/gcc/config/rs6000/linux64.h240 --- gcc-4. 3.3.orig/gcc/config/rs6000/linux64.h 2007-08-02 03:49:31.000000000 -0700241 +++ gcc-4. 3.3/gcc/config/rs6000/linux64.h 2009-01-25 00:44:08.140163989 -0800242 @@ -3 39,10 +339,10 @@249 diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/linux64.h gcc-4.4.0/gcc/config/rs6000/linux64.h 250 --- gcc-4.4.0.orig/gcc/config/rs6000/linux64.h 2009-04-09 16:23:07.000000000 -0700 251 +++ gcc-4.4.0/gcc/config/rs6000/linux64.h 2009-04-21 10:05:24.642748987 -0700 252 @@ -342,10 +342,10 @@ 243 253 #undef LINK_OS_DEFAULT_SPEC 244 254 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 255 265 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 256 266 #else 257 diff -Naur gcc-4. 3.3.orig/gcc/config/rs6000/sysv4.h gcc-4.3.3/gcc/config/rs6000/sysv4.h258 --- gcc-4. 3.3.orig/gcc/config/rs6000/sysv4.h 2007-08-08 12:33:24.000000000 -0700259 +++ gcc-4. 3.3/gcc/config/rs6000/sysv4.h 2009-01-25 00:44:08.414967174 -0800260 @@ - 891,8 +891,8 @@267 diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/sysv4.h gcc-4.4.0/gcc/config/rs6000/sysv4.h 268 --- gcc-4.4.0.orig/gcc/config/rs6000/sysv4.h 2009-04-09 16:23:07.000000000 -0700 269 +++ gcc-4.4.0/gcc/config/rs6000/sysv4.h 2009-04-21 10:05:25.034773572 -0700 270 @@ -901,8 +901,8 @@ 261 271 262 272 #define LINK_START_LINUX_SPEC "" … … 269 279 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 270 280 #else 271 @@ -9 34,7 +934,7 @@281 @@ -944,7 +944,7 @@ 272 282 273 283 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \ … … 278 288 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 279 289 %{!undef: \ 280 diff -Naur gcc-4. 3.3.orig/gcc/config/s390/linux.h gcc-4.3.3/gcc/config/s390/linux.h281 --- gcc-4. 3.3.orig/gcc/config/s390/linux.h 2007-08-02 03:49:31.000000000 -0700282 +++ gcc-4. 3.3/gcc/config/s390/linux.h 2009-01-25 00:44:11.774138007 -0800290 diff -Naur gcc-4.4.0.orig/gcc/config/s390/linux.h gcc-4.4.0/gcc/config/s390/linux.h 291 --- gcc-4.4.0.orig/gcc/config/s390/linux.h 2007-08-02 03:49:31.000000000 -0700 292 +++ gcc-4.4.0/gcc/config/s390/linux.h 2009-04-21 10:05:28.673376171 -0700 283 293 @@ -72,8 +72,8 @@ 284 294 #define MULTILIB_DEFAULTS { "m31" } … … 292 302 #undef LINK_SPEC 293 303 #define LINK_SPEC \ 294 diff -Naur gcc-4. 3.3.orig/gcc/config/sh/linux.h gcc-4.3.3/gcc/config/sh/linux.h295 --- gcc-4. 3.3.orig/gcc/config/sh/linux.h 2007-08-02 03:49:31.000000000 -0700296 +++ gcc-4. 3.3/gcc/config/sh/linux.h 2009-01-25 00:44:16.458105601 -0800304 diff -Naur gcc-4.4.0.orig/gcc/config/sh/linux.h gcc-4.4.0/gcc/config/sh/linux.h 305 --- gcc-4.4.0.orig/gcc/config/sh/linux.h 2007-08-02 03:49:31.000000000 -0700 306 +++ gcc-4.4.0/gcc/config/sh/linux.h 2009-04-21 10:05:34.264203940 -0700 297 307 @@ -47,7 +47,7 @@ 298 308 … … 304 314 #undef SUBTARGET_LINK_EMUL_SUFFIX 305 315 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" 306 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/linux64.h gcc-4.3.3/gcc/config/sparc/linux64.h307 --- gcc-4. 3.3.orig/gcc/config/sparc/linux64.h 2007-10-18 21:29:38.000000000 -0700308 +++ gcc-4. 3.3/gcc/config/sparc/linux64.h 2009-01-25 00:44:20.108482748 -0800309 @@ -1 44,10 +144,10@@316 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux64.h gcc-4.4.0/gcc/config/sparc/linux64.h 317 --- gcc-4.4.0.orig/gcc/config/sparc/linux64.h 2009-02-20 07:20:38.000000000 -0800 318 +++ gcc-4.4.0/gcc/config/sparc/linux64.h 2009-04-21 10:05:37.666298087 -0700 319 @@ -109,8 +109,8 @@ 310 320 311 321 /* If ELF is the default format, we should not use /lib/elf. */ … … 313 323 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" 314 324 -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" 315 -#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"316 -#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"317 325 +#define GLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-linux.so.2" 318 326 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux.so.2" 319 +#define UCLIBC_DYNAMIC_LINKER32 "/tools/lib/ld-uClibc.so.0" 320 +#define UCLIBC_DYNAMIC_LINKER64 "/tools/lib/ld64-uClibc.so.0" 321 #if UCLIBC_DEFAULT 322 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 323 #else 324 @@ -167,7 +167,7 @@ 327 328 #ifdef SPARC_BI_ARCH 329 330 @@ -121,7 +121,7 @@ 325 331 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 326 332 { "link_arch", LINK_ARCH_SPEC }, 327 333 328 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P, /usr/lib %{shared:-shared} \329 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P, /tools/lib %{shared:-shared} \334 -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \ 335 +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/tools/lib %{shared:-shared} \ 330 336 %{!shared: \ 331 337 %{!ibcs: \ 332 338 %{!static: \ 333 @@ -1 76,7 +176,7 @@339 @@ -130,7 +130,7 @@ 334 340 %{static:-static}}} \ 335 341 " 336 342 337 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P, /usr/lib64 %{shared:-shared} \338 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P, /tools/lib64 %{shared:-shared} \343 -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ 344 +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \ 339 345 %{!shared: \ 340 346 %{!ibcs: \ 341 347 %{!static: \ 342 @@ -2 57,7 +257,7 @@348 @@ -211,7 +211,7 @@ 343 349 #else /* !SPARC_BI_ARCH */ 344 350 345 351 #undef LINK_SPEC 346 -#define LINK_SPEC "-m elf64_sparc -Y P, /usr/lib64 %{shared:-shared} \347 +#define LINK_SPEC "-m elf64_sparc -Y P, /tools/lib64 %{shared:-shared} \352 -#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ 353 +#define LINK_SPEC "-m elf64_sparc -Y P,%R/tools/lib64 %{shared:-shared} \ 348 354 %{!shared: \ 349 355 %{!ibcs: \ 350 356 %{!static: \ 351 diff -Naur gcc-4. 3.3.orig/gcc/config/sparc/linux.h gcc-4.3.3/gcc/config/sparc/linux.h352 --- gcc-4. 3.3.orig/gcc/config/sparc/linux.h 2007-08-02 03:49:31.000000000 -0700353 +++ gcc-4. 3.3/gcc/config/sparc/linux.h 2009-01-25 00:44:20.453014666 -0800354 @@ - 120,8 +120,8@@357 diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux.h gcc-4.4.0/gcc/config/sparc/linux.h 358 --- gcc-4.4.0.orig/gcc/config/sparc/linux.h 2009-02-20 07:20:38.000000000 -0800 359 +++ gcc-4.4.0/gcc/config/sparc/linux.h 2009-04-21 10:05:37.978417377 -0700 360 @@ -83,10 +83,10 @@ 355 361 356 362 /* If ELF is the default format, we should not use /lib/elf. */ 357 363 358 364 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 359 -#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" 360 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 361 +#define UCLIBC_DYNAMIC_LINKER "/tools/lib/ld-uClibc.so.0" 362 #if UCLIBC_DEFAULT 363 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 364 #else 365 @@ -132,7 +132,7 @@ 366 365 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.2" 367 366 368 367 #undef LINK_SPEC … … 372 371 %{!shared: \ 373 372 %{!ibcs: \ 374 diff -Naur gcc-4. 3.3.orig/gcc/config/xtensa/linux.h gcc-4.3.3/gcc/config/xtensa/linux.h375 --- gcc-4. 3.3.orig/gcc/config/xtensa/linux.h 2008-01-17 17:37:53.000000000 -0800376 +++ gcc-4. 3.3/gcc/config/xtensa/linux.h 2009-01-25 00:44:10.043282860 -0800373 diff -Naur gcc-4.4.0.orig/gcc/config/xtensa/linux.h gcc-4.4.0/gcc/config/xtensa/linux.h 374 --- gcc-4.4.0.orig/gcc/config/xtensa/linux.h 2008-01-17 17:37:53.000000000 -0800 375 +++ gcc-4.4.0/gcc/config/xtensa/linux.h 2009-04-21 10:05:26.652405923 -0700 377 376 @@ -43,7 +43,7 @@ 378 377 %{mlongcalls:--longcalls} \
Note:
See TracChangeset
for help on using the changeset viewer.