changeset 750:adfe2f5bd737

The softfloat patch only applies to 4.1.2, not 4.2.1.
author Rob Landley <rob@landley.net>
date Mon, 15 Jun 2009 03:22:00 -0500
parents 34f9a88336a8
children d0157468f73d
files sources/patches/alt-gcc-core-softfloat-fix.patch sources/patches/gcc-core-softfloat-fix.patch
diffstat 2 files changed, 24 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/alt-gcc-core-softfloat-fix.patch	Mon Jun 15 03:22:00 2009 -0500
@@ -0,0 +1,24 @@
+diff -ru gcc.bak/gcc/config.gcc gcc-4.1.2/gcc/config.gcc
+--- gcc.bak/gcc/config.gcc	2006-10-15 19:12:23.000000000 -0400
++++ gcc-4.1.2/gcc/config.gcc	2007-07-04 21:07:42.000000000 -0400
+@@ -685,7 +685,7 @@
+ 	    default_use_cxa_atexit=yes
+ 	    ;;
+ 	*)
+-	    tmake_file="$tmake_file arm/t-linux"
++	    tmake_file="$tmake_file arm/t-linux arm/t-arm-elf"
+ 	    ;;
+ 	esac
+ 	tm_file="$tm_file arm/aout.h arm/arm.h"
+diff -ru gcc.bak/gcc/config/arm/linux-elf.h gcc-4.1.2/gcc/config/arm/linux-elf.h
+--- gcc.bak/gcc/config/arm/linux-elf.h	2005-10-09 21:04:31.000000000 -0400
++++ gcc-4.1.2/gcc/config/arm/linux-elf.h	2007-07-04 21:07:42.000000000 -0400
+@@ -49,7 +49,7 @@
+    %{shared:-lc} \
+    %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
+ 
+-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
++#define LIBGCC_SPEC "-lgcc"
+ 
+ #define LINUX_TARGET_INTERPRETER "/lib/ld-linux.so.2"
+ 
--- a/sources/patches/gcc-core-softfloat-fix.patch	Mon Jun 15 02:09:39 2009 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-diff -ru gcc.bak/gcc/config.gcc gcc-4.1.2/gcc/config.gcc
---- gcc.bak/gcc/config.gcc	2006-10-15 19:12:23.000000000 -0400
-+++ gcc-4.1.2/gcc/config.gcc	2007-07-04 21:07:42.000000000 -0400
-@@ -685,7 +685,7 @@
- 	    default_use_cxa_atexit=yes
- 	    ;;
- 	*)
--	    tmake_file="$tmake_file arm/t-linux"
-+	    tmake_file="$tmake_file arm/t-linux arm/t-arm-elf"
- 	    ;;
- 	esac
- 	tm_file="$tm_file arm/aout.h arm/arm.h"
-diff -ru gcc.bak/gcc/config/arm/linux-elf.h gcc-4.1.2/gcc/config/arm/linux-elf.h
---- gcc.bak/gcc/config/arm/linux-elf.h	2005-10-09 21:04:31.000000000 -0400
-+++ gcc-4.1.2/gcc/config/arm/linux-elf.h	2007-07-04 21:07:42.000000000 -0400
-@@ -49,7 +49,7 @@
-    %{shared:-lc} \
-    %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
- 
--#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
-+#define LIBGCC_SPEC "-lgcc"
- 
- #define LINUX_TARGET_INTERPRETER "/lib/ld-linux.so.2"
-