- Timestamp:
- Aug 27, 2008, 4:51:20 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ddbac3c
- Parents:
- 5df4d80
- 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: J im Gifford (patches at jg555 dot com)2 Date: 200 7-02-141 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 2008-08-24 3 3 Initial Package Version: 4.1.2 4 4 Origin: Jim Gifford … … 6 6 Rediffed against 4.1.2 by Jim Gifford 7 7 Rediffed and additions against 4.2.0 by Joe Ciccone 8 Rediffed against 4.3.0 by Joe Ciccone 8 9 Upstream Status: On Hold 9 10 Description: Makes GCC Posix Compliant 10 11 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 @@ 12 diff -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 42 diff -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 @@ 15 46 srcdir = configflags; 16 47 sub(/\/configure .*/, "", srcdir); … … 21 52 22 53 sub(/^[^ ]*\/configure */, " ", configflags); 23 diff -Naur gcc-4. 2.0.orig/gcc/configure.ac gcc-4.2.0/gcc/configure.ac24 --- gcc-4. 2.0.orig/gcc/configure.ac 2007-05-16 19:21:23.000000000 -040025 +++ gcc-4. 2.0/gcc/configure.ac 2007-05-18 16:39:21.000000000 -040026 @@ - 2227,7 +2227,7 @@54 diff -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 @@ 27 58 # Therefore, use diff -b for the comparisons. 28 59 if test x$gcc_cv_objdump != x \ … … 33 64 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 34 65 then 35 diff -Naur gcc-4. 2.0.orig/gcc/configure gcc-4.2.0/gcc/configure36 --- gcc-4. 2.0.orig/gcc/configure 2007-05-16 19:21:26.000000000 -040037 +++ gcc-4. 2.0/gcc/configure 2007-05-18 16:39:10.000000000 -040038 @@ - 14120,7 +14120,7 @@66 diff -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 @@ 39 70 # Therefore, use diff -b for the comparisons. 40 71 if test x$gcc_cv_objdump != x \ … … 45 76 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 46 77 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 78 diff -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`" 90 diff -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 50 93 @@ -68,7 +68,7 @@ 51 94 ls ${i}?.adb > ${i}.lst 2> /dev/null … … 57 100 58 101 EXTERNAL_OBJECTS="" 59 diff -Naur gcc-4. 2.0.orig/libgomp/acinclude.m4 gcc-4.2.0/libgomp/acinclude.m460 --- gcc-4. 2.0.orig/libgomp/acinclude.m4 2007-05-16 19:21:18.000000000 -040061 +++ gcc-4. 2.0/libgomp/acinclude.m4 2007-05-18 16:42:11.000000000 -0400102 diff -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 62 105 @@ -147,7 +147,7 @@ 63 106 # Start by getting the version number. I think the libtool test already … … 69 112 changequote([,]) 70 113 libgomp_gnu_ld_version=`echo $ldver | \ 71 diff -Naur gcc-4. 2.0.orig/libgomp/configure gcc-4.2.0/libgomp/configure72 --- gcc-4. 2.0.orig/libgomp/configure 2007-05-16 19:21:19.000000000 -040073 +++ gcc-4. 2.0/libgomp/configure 2007-05-18 16:42:19.000000000 -040074 @@ - 9314,7 +9314,7 @@114 diff -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 @@ 75 118 # Start by getting the version number. I think the libtool test already 76 119 # does some of this, but throws away the result. … … 81 124 82 125 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 126 diff -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 138 diff -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 150 diff -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; 162 diff -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; 174 diff -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 86 177 @@ -217,7 +217,7 @@ 87 178 fi # shortcircut to system "stdint.h" … … 93 184 ac_cv_stdint_message="using $CC" 94 185 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` 186 diff -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" 104 199 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 200 diff -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 134 203 @@ -3,8 +3,8 @@ 135 204 AC_MSG_CHECKING(whether 'ld' is at least 2.13) … … 143 212 LD_OK="ok" 144 213 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 214 diff -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 162 217 @@ -234,7 +234,7 @@ 163 218 if test x"$with_gnu_ld" = x"yes"; then … … 169 224 changequote([,]) 170 225 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; 226 diff -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 @@ 1 diff -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 @@ 15 5 When the -shared link option is used a final link is not being 16 6 done. */ … … 21 11 +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2" 22 12 23 # undef LINK_SPEC24 #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-linux6426 --- gcc-4. 2.4.orig/gcc/config/i386/t-linux64 2008-03-05 17:25:28.000000000 +000027 +++ gcc-4. 2.4/gcc/config/i386/t-linux64 2008-06-12 20:05:44.000000000 +010013 #if TARGET_64BIT_DEFAULT 14 #define SPEC_32 "m32" 15 diff -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 28 18 @@ -13,7 +13,7 @@ 29 19 … … 35 25 LIBGCC = stmp-multilib 36 26 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.h38 --- gcc-4. 2.4.orig/gcc/config/mips/linux64.h 2007-09-01 16:28:30.000000000 +010039 +++ gcc-4. 2.4/gcc/config/mips/linux64.h 2008-06-12 19:55:27.000000000 +010040 @@ -3 5,10 +35,10 @@41 %{!shared: %{pthread:-lpthread}\42 %{profile:-lc_p} %{!profile: 27 diff -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}}" 43 33 44 34 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" … … 53 43 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 54 44 55 diff -Naur gcc-4. 2.4.orig/gcc/config/mips/t-linux64 gcc-4.2.4/gcc/config/mips/t-linux6456 --- gcc-4. 2.4.orig/gcc/config/mips/t-linux64 2006-06-06 13:51:24.000000000 +010057 +++ gcc-4. 2.4/gcc/config/mips/t-linux64 2008-06-12 19:55:27.000000000 +010045 diff -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 58 48 @@ -1,6 +1,6 @@ 59 49 MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64 … … 64 54 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 65 55 66 diff -Naur gcc-4. 2.4.orig/gcc/config/rs6000/linux64.h gcc-4.2.4/gcc/config/rs6000/linux64.h67 --- gcc-4. 2.4.orig/gcc/config/rs6000/linux64.h 2007-09-01 16:28:30.000000000 +010068 +++ gcc-4. 2.4/gcc/config/rs6000/linux64.h 2008-06-12 19:55:27.000000000 +010069 @@ -33 5,8 +335,8 @@56 diff -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 @@ 70 60 #undef LINK_OS_DEFAULT_SPEC 71 61 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 78 68 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 79 69 #if UCLIBC_DEFAULT 80 diff -Naur gcc-4. 2.4.orig/gcc/config/rs6000/t-linux64 gcc-4.2.4/gcc/config/rs6000/t-linux6481 --- gcc-4. 2.4.orig/gcc/config/rs6000/t-linux64 2008-03-05 17:25:28.000000000 +000082 +++ gcc-4. 2.4/gcc/config/rs6000/t-linux64 2008-06-12 20:13:59.000000000 +010070 diff -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 83 73 @@ -19,7 +19,7 @@ 84 74 MULTILIB_EXTRA_OPTS = fPIC mstrict-align … … 90 80 91 81 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-linux6493 --- gcc-4. 2.4.orig/gcc/config/s390/t-linux64 2006-02-06 17:41:54.000000000 +000094 +++ gcc-4. 2.4/gcc/config/s390/t-linux64 2008-06-12 19:55:27.000000000 +010082 diff -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 95 85 @@ -1,6 +1,6 @@ 96 86 MULTILIB_OPTIONS = m64/m31 … … 101 91 LIBGCC = stmp-multilib 102 92 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.h104 --- gcc-4. 2.4.orig/gcc/config/sparc/linux64.h 2007-09-01 16:28:30.000000000 +0100105 +++ gcc-4. 2.4/gcc/config/sparc/linux64.h 2008-06-12 19:55:27.000000000 +0100106 @@ -14 3,8 +143,8 @@93 diff -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 @@ 107 97 108 98 /* If ELF is the default format, we should not use /lib/elf. */ … … 115 105 #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" 116 106 #if UCLIBC_DEFAULT 117 @@ -16 6,7 +166,7 @@107 @@ -167,7 +167,7 @@ 118 108 { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ 119 109 { "link_arch", LINK_ARCH_SPEC }, … … 124 114 %{!ibcs: \ 125 115 %{!static: \ 126 @@ -17 5,7 +175,7 @@116 @@ -176,7 +176,7 @@ 127 117 %{static:-static}}} \ 128 118 " … … 133 123 %{!ibcs: \ 134 124 %{!static: \ 135 @@ -25 6,7 +256,7 @@125 @@ -257,7 +257,7 @@ 136 126 #else /* !SPARC_BI_ARCH */ 137 127 … … 142 132 %{!ibcs: \ 143 133 %{!static: \ 144 diff -Naur gcc-4. 2.4.orig/gcc/config/sparc/linux.h gcc-4.2.4/gcc/config/sparc/linux.h145 --- gcc-4. 2.4.orig/gcc/config/sparc/linux.h 2007-09-01 16:28:30.000000000 +0100146 +++ gcc-4. 2.4/gcc/config/sparc/linux.h 2008-06-12 19:55:27.000000000 +0100134 diff -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 147 137 @@ -132,7 +132,7 @@ 148 138 … … 154 144 %{!shared: \ 155 145 %{!ibcs: \ 156 diff -Naur gcc-4. 2.4.orig/gcc/config/sparc/t-linux64 gcc-4.2.4/gcc/config/sparc/t-linux64157 --- gcc-4. 2.4.orig/gcc/config/sparc/t-linux64 2006-02-08 07:19:43.000000000 +0000158 +++ gcc-4. 2.4/gcc/config/sparc/t-linux64 2008-06-12 19:55:27.000000000 +0100146 diff -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 159 149 @@ -1,6 +1,6 @@ 160 150 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: 200 7-02-141 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 2008-08-24 3 3 Initial Package Version: 4.1.2 4 4 Upstream Status: Not Sent - LFS Specific … … 11 11 Rediffed against gcc 4.1.2 by Jim Gifford 12 12 Rediffed against gcc 4.2.0 by Joe Ciccone 13 Rediffed against gcc 4.3.1 by Joe Ciccone 13 14 Description: This patch modifies the location of the dynamic linker for 14 15 the GCC Pass 2 build in LFS Chapter 5. 15 16 16 diff -Naur gcc-4. 2.0.orig/gcc/config/alpha/gnu.h gcc-4.2.0/gcc/config/alpha/gnu.h17 --- gcc-4. 2.0.orig/gcc/config/alpha/gnu.h 2007-05-16 19:21:19.000000000 -040018 +++ gcc-4. 2.0/gcc/config/alpha/gnu.h 2007-05-18 16:27:10.000000000 -040017 diff -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 19 20 @@ -11,7 +11,7 @@ 20 21 } while (0) … … 26 27 #undef STARTFILE_SPEC 27 28 #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.h29 --- gcc-4. 2.0.orig/gcc/config/alpha/linux-elf.h 2007-05-16 19:21:19.000000000 -040030 +++ gcc-4. 2.0/gcc/config/alpha/linux-elf.h 2007-05-18 16:23:31.000000000 -040031 @@ -2 8,8 +28,8 @@32 #define SUBTARGET_EXTRA_SPECS \29 diff -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 \ 33 34 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, 34 35 … … 40 41 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 41 42 #else 42 diff -Naur gcc-4. 2.0.orig/gcc/config/arm/linux-eabi.h gcc-4.2.0/gcc/config/arm/linux-eabi.h43 --- gcc-4. 2.0.orig/gcc/config/arm/linux-eabi.h 2007-05-16 19:21:19.000000000 -040044 +++ gcc-4. 2.0/gcc/config/arm/linux-eabi.h 2007-05-18 16:26:45.000000000 -040045 @@ - 53,7 +53,7 @@43 diff -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 @@ 46 47 /* Use ld-linux.so.3 so that it will be possible to run "classic" 47 48 GNU/Linux binaries on an EABI system. */ 48 #undef GLIBC_DYNAMIC_LINKER49 #undef GLIBC_DYNAMIC_LINKER 49 50 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" 50 51 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.3" … … 52 53 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 53 54 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.h55 --- gcc-4. 2.0.orig/gcc/config/arm/linux-elf.h 2007-05-16 19:21:19.000000000 -040056 +++ gcc-4. 2.0/gcc/config/arm/linux-elf.h 2007-05-18 16:23:31.000000000 -040057 @@ - 51,7 +51,7 @@55 diff -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 @@ 58 59 59 60 #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc" … … 64 65 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \ 65 66 %{b} \ 66 diff -Naur gcc-4. 2.0.orig/gcc/config/cris/linux.h gcc-4.2.0/gcc/config/cris/linux.h67 --- gcc-4. 2.0.orig/gcc/config/cris/linux.h 2007-05-16 19:21:19.000000000 -040068 +++ gcc-4. 2.0/gcc/config/cris/linux.h 2007-05-18 16:30:54.000000000 -040069 @@ - 76,7 +76,7 @@70 #undef CRIS_ SUBTARGET_VERSION71 #define CRIS_ SUBTARGET_VERSION " - cris-axis-linux-gnu"67 diff -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 72 73 73 74 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" … … 76 77 /* We need an -rpath-link to ld.so.1, and presumably to each directory 77 78 specified with -B. */ 78 d ff -Naur gcc-4.2.0.orig/gcc/config/frv/linux.h gcc-4.2.0/gcc/config/frv/linux.h79 --- gcc-4. 2.0.orig/gcc/config/frv/linux.h 2007-05-16 19:21:19.000000000 -040080 +++ gcc-4. 2.0/gcc/config/frv/linux.h 2007-05-18 16:23:31.000000000 -040081 @@ -3 6,7 +36,7 @@79 diff -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 @@ 82 83 #define ENDFILE_SPEC \ 83 84 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" … … 88 89 #undef LINK_SPEC 89 90 #define LINK_SPEC "\ 90 diff -Naur gcc-4. 2.0.orig/gcc/config/i386/gnu.h gcc-4.2.0/gcc/config/i386/gnu.h91 --- gcc-4. 2.0.orig/gcc/config/i386/gnu.h 2007-05-16 19:21:19.000000000 -040092 +++ gcc-4. 2.0/gcc/config/i386/gnu.h 2007-05-18 16:23:31.000000000 -040091 diff -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 93 94 @@ -22,7 +22,7 @@ 94 95 %{!shared: \ … … 100 101 101 102 #undef STARTFILE_SPEC 102 diff -Naur gcc-4. 2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h103 --- gcc-4. 2.0.orig/gcc/config/i386/linux64.h 2007-05-16 19:21:19.000000000 -0400104 +++ gcc-4. 2.0/gcc/config/i386/linux64.h 2007-05-18 16:23:31.000000000 -0400105 @@ - 49,8 +49,8 @@103 diff -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 @@ 106 107 When the -shared link option is used a final link is not being 107 108 done. */ … … 112 113 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib/ld-linux-x86-64.so.2" 113 114 114 # undef LINK_SPEC115 #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.h117 --- gcc-4. 2.0.orig/gcc/config/i386/linux.h 2007-05-16 19:21:19.000000000 -0400118 +++ gcc-4. 2.0/gcc/config/i386/linux.h 2007-05-18 16:23:31.000000000 -0400119 @@ -10 1,7 +101,7 @@115 #if TARGET_64BIT_DEFAULT 116 #define SPEC_32 "m32" 117 diff -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 @@ 120 121 121 122 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */ … … 126 127 #undef SUBTARGET_EXTRA_SPECS 127 128 #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.h129 --- gcc-4. 2.0.orig/gcc/config/ia64/linux.h 2007-05-16 19:21:19.000000000 -0400130 +++ gcc-4. 2.0/gcc/config/ia64/linux.h 2007-05-18 16:23:31.000000000 -0400129 diff -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 131 132 @@ -37,7 +37,7 @@ 132 133 /* Define this for shared library support because it isn't in the main … … 138 139 #undef LINK_SPEC 139 140 #define LINK_SPEC "\ 140 diff -Naur gcc-4. 2.0.orig/gcc/config/linux.h gcc-4.2.0/gcc/config/linux.h141 --- gcc-4. 2.0.orig/gcc/config/linux.h 2007-05-16 19:21:19.000000000 -0400142 +++ gcc-4. 2.0/gcc/config/linux.h 2007-05-18 16:23:31.000000000 -0400141 diff -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 143 144 @@ -112,9 +112,9 @@ 144 145 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or … … 154 155 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 155 156 #define LINUX_DYNAMIC_LINKER32 \ 156 @@ -1 27,3 +127,7 @@157 #define TARGET_ C99_FUNCTIONS (OPTION_GLIBC)157 @@ -130,3 +130,7 @@ 158 #define TARGET_HAS_SINCOS (OPTION_GLIBC) 158 159 159 160 #define TARGET_POSIX_IO … … 162 163 +#undef STANDARD_INCLUDE_DIR 163 164 +#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.h165 --- gcc-4. 2.0.orig/gcc/config/m32r/linux.h 2007-05-16 19:21:19.000000000 -0400166 +++ gcc-4. 2.0/gcc/config/m32r/linux.h 2007-05-18 16:23:31.000000000 -0400167 @@ -5 9,7 +59,7 @@165 diff -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 @@ 168 169 169 170 /* If ELF is the default format, we should not use /lib/elf. */ … … 174 175 #undef LINK_SPEC 175 176 #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.h177 --- gcc-4. 2.0.orig/gcc/config/m68k/linux.h 2007-05-16 19:21:19.000000000 -0400178 +++ gcc-4. 2.0/gcc/config/m68k/linux.h 2007-05-18 16:23:31.000000000 -0400179 @@ - 123,7 +123,7 @@177 diff -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 @@ 180 181 181 182 /* If ELF is the default format, we should not use /lib/elf. */ … … 184 185 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 185 186 186 #undef 187 #undef LINK_SPEC 187 188 #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.h189 --- gcc-4. 2.0.orig/gcc/config/mips/linux64.h 2007-05-16 19:21:19.000000000 -0400190 +++ gcc-4. 2.0/gcc/config/mips/linux64.h 2007-05-18 16:23:31.000000000 -0400191 @@ -3 6,10 +36,10 @@192 %{!shared: %{pthread:-lpthread}\193 %{profile:-lc_p} %{!profile: 189 diff -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}}" 194 195 195 196 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" … … 204 205 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 205 206 206 diff -Naur gcc-4. 2.0.orig/gcc/config/mips/linux.h gcc-4.2.0/gcc/config/mips/linux.h207 --- gcc-4. 2.0.orig/gcc/config/mips/linux.h 2007-05-16 19:21:19.000000000 -0400208 +++ gcc-4. 2.0/gcc/config/mips/linux.h 2007-05-18 16:23:31.000000000 -0400209 @@ - 104,7 +104,7 @@207 diff -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 @@ 210 211 #undef MIPS_DEFAULT_GVALUE 211 212 #define MIPS_DEFAULT_GVALUE 0 … … 216 217 /* Borrowed from sparc/linux.h */ 217 218 #undef LINK_SPEC 218 diff -Naur gcc-4. 2.0.orig/gcc/config/mn10300/linux.h gcc-4.2.0/gcc/config/mn10300/linux.h219 --- gcc-4. 2.0.orig/gcc/config/mn10300/linux.h 2007-05-16 19:21:19.000000000 -0400220 +++ gcc-4. 2.0/gcc/config/mn10300/linux.h 2007-05-18 16:23:31.000000000 -0400221 @@ -3 3,7 +33,7 @@219 diff -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 @@ 222 223 #undef ASM_SPEC 223 224 #define ASM_SPEC "%{Wa,*:%*}" … … 228 229 #undef LINK_SPEC 229 230 #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.h231 --- gcc-4. 2.0.orig/gcc/config/pa/pa-linux.h 2007-05-16 19:21:19.000000000 -0400232 +++ gcc-4. 2.0/gcc/config/pa/pa-linux.h 2007-05-18 16:23:31.000000000 -0400233 @@ -4 5,7 +45,7 @@231 diff -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 @@ 234 235 /* Define this for shared library support because it isn't in the main 235 236 linux.h file. */ … … 240 241 #undef LINK_SPEC 241 242 #define LINK_SPEC "\ 242 diff -Naur gcc-4. 2.0.orig/gcc/config/rs6000/linux64.h gcc-4.2.0/gcc/config/rs6000/linux64.h243 --- gcc-4. 2.0.orig/gcc/config/rs6000/linux64.h 2007-05-16 19:21:19.000000000 -0400244 +++ gcc-4. 2.0/gcc/config/rs6000/linux64.h 2007-05-18 16:23:31.000000000 -0400245 @@ -33 6,10 +336,10 @@243 diff -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 @@ 246 247 #undef LINK_OS_DEFAULT_SPEC 247 248 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 258 259 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 259 260 #else 260 diff -Naur gcc-4. 2.0.orig/gcc/config/rs6000/sysv4.h gcc-4.2.0/gcc/config/rs6000/sysv4.h261 --- gcc-4. 2.0.orig/gcc/config/rs6000/sysv4.h 2007-05-16 19:21:19.000000000 -0400262 +++ gcc-4. 2.0/gcc/config/rs6000/sysv4.h 2007-05-18 16:29:05.000000000 -0400263 @@ -89 2,8 +892,8 @@261 diff -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 @@ 264 265 265 266 #define LINK_START_LINUX_SPEC "" … … 272 273 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 273 274 #else 274 @@ -93 5,7 +935,7 @@275 @@ -934,7 +934,7 @@ 275 276 276 277 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \ … … 281 282 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 282 283 %{!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 @@ 284 diff -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' 307 diff -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 @@ 287 311 #define MULTILIB_DEFAULTS { "m31" } 288 312 #endif … … 295 319 #undef LINK_SPEC 296 320 #define LINK_SPEC \ 297 diff -Naur gcc-4. 2.0.orig/gcc/config/sh/linux.h gcc-4.2.0/gcc/config/sh/linux.h298 --- gcc-4. 2.0.orig/gcc/config/sh/linux.h 2007-05-16 19:21:19.000000000 -0400299 +++ gcc-4. 2.0/gcc/config/sh/linux.h 2007-05-18 16:23:31.000000000 -0400300 @@ -4 8,7 +48,7 @@321 diff -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 @@ 301 325 302 326 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack … … 307 331 #undef SUBTARGET_LINK_EMUL_SUFFIX 308 332 #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.h310 --- gcc-4. 2.0.orig/gcc/config/sparc/linux64.h 2007-05-16 19:21:19.000000000 -0400311 +++ gcc-4. 2.0/gcc/config/sparc/linux64.h 2007-05-18 16:25:23.000000000 -0400333 diff -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 312 336 @@ -144,10 +144,10 @@ 313 337 … … 352 376 %{!ibcs: \ 353 377 %{!static: \ 354 diff -Naur gcc-4. 2.0.orig/gcc/config/sparc/linux.h gcc-4.2.0/gcc/config/sparc/linux.h355 --- gcc-4. 2.0.orig/gcc/config/sparc/linux.h 2007-05-16 19:21:19.000000000 -0400356 +++ gcc-4. 2.0/gcc/config/sparc/linux.h 2007-05-18 16:24:24.000000000 -0400357 @@ -12 1,8 +121,8 @@378 diff -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 @@ 358 382 359 383 /* If ELF is the default format, we should not use /lib/elf. */ … … 366 390 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 367 391 #else 368 @@ -13 3,7 +133,7 @@392 @@ -132,7 +132,7 @@ 369 393 370 394 … … 375 399 %{!shared: \ 376 400 %{!ibcs: \ 377 diff -Naur gcc-4. 2.0.orig/gcc/config/xtensa/linux.h gcc-4.2.0/gcc/config/xtensa/linux.h378 --- gcc-4. 2.0.orig/gcc/config/xtensa/linux.h 2007-05-16 19:21:19.000000000 -0400379 +++ gcc-4. 2.0/gcc/config/xtensa/linux.h 2007-05-18 16:23:31.000000000 -0400401 diff -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 380 404 @@ -43,7 +43,7 @@ 381 405 %{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: 200 7-02-141 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 2008-08-22 3 3 Initial Package Version: 4.1.2 4 4 Upstream Status: Not Sent - LFS Specific … … 11 11 Rediffed against gcc 4.1.2 by Jim Gifford 12 12 Rediffed against gcc 4.2.0 by Joe Ciccone 13 Rediffed against gcc 4.3.0 by Joe Ciccone 13 14 Description: This patch modifies the location of the dynamic linker for 14 15 the GCC Pass 2 build in LFS Chapter 5. 15 16 16 diff -Naur gcc-4. 2.0.orig/gcc/config/alpha/gnu.h gcc-4.2.0/gcc/config/alpha/gnu.h17 --- gcc-4. 2.0.orig/gcc/config/alpha/gnu.h 2007-05-16 19:21:19.000000000 -040018 +++ gcc-4. 2.0/gcc/config/alpha/gnu.h 2007-05-18 16:27:10.000000000 -040017 diff -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 19 20 @@ -11,7 +11,7 @@ 20 21 } while (0) … … 26 27 #undef STARTFILE_SPEC 27 28 #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.h29 --- gcc-4. 2.0.orig/gcc/config/alpha/linux-elf.h 2007-05-16 19:21:19.000000000 -040030 +++ gcc-4. 2.0/gcc/config/alpha/linux-elf.h 2007-05-18 16:23:31.000000000 -040031 @@ -2 8,8 +28,8 @@32 #define SUBTARGET_EXTRA_SPECS \29 diff -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 \ 33 34 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, 34 35 … … 40 41 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 41 42 #else 42 diff -Naur gcc-4. 2.0.orig/gcc/config/arm/linux-eabi.h gcc-4.2.0/gcc/config/arm/linux-eabi.h43 --- gcc-4. 2.0.orig/gcc/config/arm/linux-eabi.h 2007-05-16 19:21:19.000000000 -040044 +++ gcc-4. 2.0/gcc/config/arm/linux-eabi.h 2007-05-18 16:26:45.000000000 -040045 @@ - 53,7 +53,7 @@43 diff -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 @@ 46 47 /* Use ld-linux.so.3 so that it will be possible to run "classic" 47 48 GNU/Linux binaries on an EABI system. */ 48 #undef GLIBC_DYNAMIC_LINKER49 #undef GLIBC_DYNAMIC_LINKER 49 50 -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" 50 51 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld-linux.so.3" … … 52 53 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 53 54 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.h55 --- gcc-4. 2.0.orig/gcc/config/arm/linux-elf.h 2007-05-16 19:21:19.000000000 -040056 +++ gcc-4. 2.0/gcc/config/arm/linux-elf.h 2007-05-18 16:23:31.000000000 -040057 @@ - 51,7 +51,7 @@55 diff -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 @@ 58 59 59 60 #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc" … … 64 65 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \ 65 66 %{b} \ 66 diff -Naur gcc-4. 2.0.orig/gcc/config/cris/linux.h gcc-4.2.0/gcc/config/cris/linux.h67 --- gcc-4. 2.0.orig/gcc/config/cris/linux.h 2007-05-16 19:21:19.000000000 -040068 +++ gcc-4. 2.0/gcc/config/cris/linux.h 2007-05-18 16:30:54.000000000 -040069 @@ - 76,7 +76,7 @@70 #undef CRIS_ SUBTARGET_VERSION71 #define CRIS_ SUBTARGET_VERSION " - cris-axis-linux-gnu"67 diff -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 72 73 73 74 -#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" … … 76 77 /* We need an -rpath-link to ld.so.1, and presumably to each directory 77 78 specified with -B. */ 78 diff -Naur gcc-4. 2.0.orig/gcc/config/frv/linux.h gcc-4.2.0/gcc/config/frv/linux.h79 --- gcc-4. 2.0.orig/gcc/config/frv/linux.h 2007-05-16 19:21:19.000000000 -040080 +++ gcc-4. 2.0/gcc/config/frv/linux.h 2007-05-18 16:23:31.000000000 -040081 @@ -3 6,7 +36,7 @@79 diff -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 @@ 82 83 #define ENDFILE_SPEC \ 83 84 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" … … 88 89 #undef LINK_SPEC 89 90 #define LINK_SPEC "\ 90 diff -Naur gcc-4. 2.0.orig/gcc/config/i386/gnu.h gcc-4.2.0/gcc/config/i386/gnu.h91 --- gcc-4. 2.0.orig/gcc/config/i386/gnu.h 2007-05-16 19:21:19.000000000 -040092 +++ gcc-4. 2.0/gcc/config/i386/gnu.h 2007-05-18 16:23:31.000000000 -040091 diff -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 93 94 @@ -22,7 +22,7 @@ 94 95 %{!shared: \ … … 100 101 101 102 #undef STARTFILE_SPEC 102 diff -Naur gcc-4. 2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h103 --- gcc-4. 2.0.orig/gcc/config/i386/linux64.h 2007-05-16 19:21:19.000000000 -0400104 +++ gcc-4. 2.0/gcc/config/i386/linux64.h 2007-05-18 16:23:31.000000000 -0400105 @@ - 49,8 +49,8 @@103 diff -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 @@ 106 107 When the -shared link option is used a final link is not being 107 108 done. */ … … 112 113 +#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2" 113 114 114 # undef LINK_SPEC115 #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.h117 --- gcc-4. 2.0.orig/gcc/config/i386/linux.h 2007-05-16 19:21:19.000000000 -0400118 +++ gcc-4. 2.0/gcc/config/i386/linux.h 2007-05-18 16:23:31.000000000 -0400119 @@ -10 1,7 +101,7 @@115 #if TARGET_64BIT_DEFAULT 116 #define SPEC_32 "m32" 117 diff -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 @@ 120 121 121 122 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */ … … 126 127 #undef SUBTARGET_EXTRA_SPECS 127 128 #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.h129 --- gcc-4. 2.0.orig/gcc/config/ia64/linux.h 2007-05-16 19:21:19.000000000 -0400130 +++ gcc-4. 2.0/gcc/config/ia64/linux.h 2007-05-18 16:23:31.000000000 -0400129 diff -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 131 132 @@ -37,7 +37,7 @@ 132 133 /* Define this for shared library support because it isn't in the main … … 138 139 #undef LINK_SPEC 139 140 #define LINK_SPEC "\ 140 diff -Naur gcc-4. 2.0.orig/gcc/config/linux.h gcc-4.2.0/gcc/config/linux.h141 --- gcc-4. 2.0.orig/gcc/config/linux.h 2007-05-16 19:21:19.000000000 -0400142 +++ gcc-4. 2.0/gcc/config/linux.h 2007-05-18 16:23:31.000000000 -0400141 diff -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 143 144 @@ -112,9 +112,9 @@ 144 145 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or … … 154 155 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 155 156 #define LINUX_DYNAMIC_LINKER32 \ 156 @@ -1 27,3 +127,7 @@157 #define TARGET_ C99_FUNCTIONS (OPTION_GLIBC)157 @@ -130,3 +130,7 @@ 158 #define TARGET_HAS_SINCOS (OPTION_GLIBC) 158 159 159 160 #define TARGET_POSIX_IO … … 162 163 +#undef STANDARD_INCLUDE_DIR 163 164 +#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.h165 --- gcc-4. 2.0.orig/gcc/config/m32r/linux.h 2007-05-16 19:21:19.000000000 -0400166 +++ gcc-4. 2.0/gcc/config/m32r/linux.h 2007-05-18 16:23:31.000000000 -0400167 @@ -5 9,7 +59,7 @@165 diff -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 @@ 168 169 169 170 /* If ELF is the default format, we should not use /lib/elf. */ … … 174 175 #undef LINK_SPEC 175 176 #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.h177 --- gcc-4. 2.0.orig/gcc/config/m68k/linux.h 2007-05-16 19:21:19.000000000 -0400178 +++ gcc-4. 2.0/gcc/config/m68k/linux.h 2007-05-18 16:23:31.000000000 -0400179 @@ - 123,7 +123,7 @@177 diff -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 @@ 180 181 181 182 /* If ELF is the default format, we should not use /lib/elf. */ … … 184 185 +#define GLIBC_DYNAMIC_LINKER "/tools/lib/ld.so.1" 185 186 186 #undef 187 #undef LINK_SPEC 187 188 #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.h189 --- gcc-4. 2.0.orig/gcc/config/mips/linux64.h 2007-05-16 19:21:19.000000000 -0400190 +++ gcc-4. 2.0/gcc/config/mips/linux64.h 2007-05-18 16:23:31.000000000 -0400191 @@ -3 6,10 +36,10 @@192 %{!shared: %{pthread:-lpthread}\193 %{profile:-lc_p} %{!profile: 189 diff -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}}" 194 195 195 196 -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" … … 204 205 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) 205 206 206 diff -Naur gcc-4. 2.0.orig/gcc/config/mips/linux.h gcc-4.2.0/gcc/config/mips/linux.h207 --- gcc-4. 2.0.orig/gcc/config/mips/linux.h 2007-05-16 19:21:19.000000000 -0400208 +++ gcc-4. 2.0/gcc/config/mips/linux.h 2007-05-18 16:23:31.000000000 -0400209 @@ - 104,7 +104,7 @@207 diff -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 @@ 210 211 #undef MIPS_DEFAULT_GVALUE 211 212 #define MIPS_DEFAULT_GVALUE 0 … … 216 217 /* Borrowed from sparc/linux.h */ 217 218 #undef LINK_SPEC 218 diff -Naur gcc-4. 2.0.orig/gcc/config/mn10300/linux.h gcc-4.2.0/gcc/config/mn10300/linux.h219 --- gcc-4. 2.0.orig/gcc/config/mn10300/linux.h 2007-05-16 19:21:19.000000000 -0400220 +++ gcc-4. 2.0/gcc/config/mn10300/linux.h 2007-05-18 16:23:31.000000000 -0400221 @@ -3 3,7 +33,7 @@219 diff -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 @@ 222 223 #undef ASM_SPEC 223 224 #define ASM_SPEC "%{Wa,*:%*}" … … 228 229 #undef LINK_SPEC 229 230 #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.h231 --- gcc-4. 2.0.orig/gcc/config/pa/pa-linux.h 2007-05-16 19:21:19.000000000 -0400232 +++ gcc-4. 2.0/gcc/config/pa/pa-linux.h 2007-05-18 16:23:31.000000000 -0400233 @@ -4 5,7 +45,7 @@231 diff -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 @@ 234 235 /* Define this for shared library support because it isn't in the main 235 236 linux.h file. */ … … 240 241 #undef LINK_SPEC 241 242 #define LINK_SPEC "\ 242 diff -Naur gcc-4. 2.0.orig/gcc/config/rs6000/linux64.h gcc-4.2.0/gcc/config/rs6000/linux64.h243 --- gcc-4. 2.0.orig/gcc/config/rs6000/linux64.h 2007-05-16 19:21:19.000000000 -0400244 +++ gcc-4. 2.0/gcc/config/rs6000/linux64.h 2007-05-18 16:23:31.000000000 -0400245 @@ -33 6,10 +336,10 @@243 diff -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 @@ 246 247 #undef LINK_OS_DEFAULT_SPEC 247 248 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" … … 258 259 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 259 260 #else 260 diff -Naur gcc-4. 2.0.orig/gcc/config/rs6000/sysv4.h gcc-4.2.0/gcc/config/rs6000/sysv4.h261 --- gcc-4. 2.0.orig/gcc/config/rs6000/sysv4.h 2007-05-16 19:21:19.000000000 -0400262 +++ gcc-4. 2.0/gcc/config/rs6000/sysv4.h 2007-05-18 16:29:05.000000000 -0400263 @@ -89 2,8 +892,8 @@261 diff -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 @@ 264 265 265 266 #define LINK_START_LINUX_SPEC "" … … 272 273 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 273 274 #else 274 @@ -93 5,7 +935,7 @@275 @@ -934,7 +934,7 @@ 275 276 276 277 #define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \ … … 281 282 #define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__ \ 282 283 %{!undef: \ 283 diff -Naur gcc-4. 2.0.orig/gcc/config/s390/linux.h gcc-4.2.0/gcc/config/s390/linux.h284 --- gcc-4. 2.0.orig/gcc/config/s390/linux.h 2007-05-16 19:21:19.000000000 -0400285 +++ gcc-4. 2.0/gcc/config/s390/linux.h 2007-05-18 16:23:31.000000000 -0400286 @@ -7 3,8 +73,8 @@284 diff -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 @@ 287 288 #define MULTILIB_DEFAULTS { "m31" } 288 289 #endif … … 295 296 #undef LINK_SPEC 296 297 #define LINK_SPEC \ 297 diff -Naur gcc-4. 2.0.orig/gcc/config/sh/linux.h gcc-4.2.0/gcc/config/sh/linux.h298 --- gcc-4. 2.0.orig/gcc/config/sh/linux.h 2007-05-16 19:21:19.000000000 -0400299 +++ gcc-4. 2.0/gcc/config/sh/linux.h 2007-05-18 16:23:31.000000000 -0400300 @@ -4 8,7 +48,7 @@298 diff -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 @@ 301 302 302 303 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack … … 307 308 #undef SUBTARGET_LINK_EMUL_SUFFIX 308 309 #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.h310 --- gcc-4. 2.0.orig/gcc/config/sparc/linux64.h 2007-05-16 19:21:19.000000000 -0400311 +++ gcc-4. 2.0/gcc/config/sparc/linux64.h 2007-05-18 16:25:23.000000000 -0400310 diff -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 312 313 @@ -144,10 +144,10 @@ 313 314 … … 352 353 %{!ibcs: \ 353 354 %{!static: \ 354 diff -Naur gcc-4. 2.0.orig/gcc/config/sparc/linux.h gcc-4.2.0/gcc/config/sparc/linux.h355 --- gcc-4. 2.0.orig/gcc/config/sparc/linux.h 2007-05-16 19:21:19.000000000 -0400356 +++ gcc-4. 2.0/gcc/config/sparc/linux.h 2007-05-18 16:24:24.000000000 -0400357 @@ -12 1,8 +121,8 @@355 diff -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 @@ 358 359 359 360 /* If ELF is the default format, we should not use /lib/elf. */ … … 366 367 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}" 367 368 #else 368 @@ -13 3,7 +133,7 @@369 @@ -132,7 +132,7 @@ 369 370 370 371 … … 375 376 %{!shared: \ 376 377 %{!ibcs: \ 377 diff -Naur gcc-4. 2.0.orig/gcc/config/xtensa/linux.h gcc-4.2.0/gcc/config/xtensa/linux.h378 --- gcc-4. 2.0.orig/gcc/config/xtensa/linux.h 2007-05-16 19:21:19.000000000 -0400379 +++ gcc-4. 2.0/gcc/config/xtensa/linux.h 2007-05-18 16:23:31.000000000 -0400378 diff -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 380 381 @@ -43,7 +43,7 @@ 381 382 %{mlongcalls:--longcalls} \
Note:
See TracChangeset
for help on using the changeset viewer.