summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.1.2/910-soft-float.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-18 18:11:04 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-18 18:11:04 +0000
commitcc81d3493ef1f3071153ccf6ecb352d4cb252984 (patch)
tree89b3b50233e7c09650140245df7bcd1f4708ffe4 /toolchain/gcc/patches/4.1.2/910-soft-float.patch
parente231cd283e6100dd806e1cca8d8ef46fff677b1a (diff)
gcc: refresh patches for gcc 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14554 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.1.2/910-soft-float.patch')
-rw-r--r--toolchain/gcc/patches/4.1.2/910-soft-float.patch29
1 files changed, 14 insertions, 15 deletions
diff --git a/toolchain/gcc/patches/4.1.2/910-soft-float.patch b/toolchain/gcc/patches/4.1.2/910-soft-float.patch
index 3f886acbf..66cb3992a 100644
--- a/toolchain/gcc/patches/4.1.2/910-soft-float.patch
+++ b/toolchain/gcc/patches/4.1.2/910-soft-float.patch
@@ -1,6 +1,17 @@
---- gcc-4.2-20061205/gcc/config/arm/t-linux 2006-12-08 15:18:33.000000000 -0800
-+++ gcc-4.2-20061205/gcc/config/arm/t-linux 2006-12-08 15:18:33.000000000 -0800
-@@ -4,7 +4,10 @@
+--- a/gcc/config/arm/linux-elf.h
++++ b/gcc/config/arm/linux-elf.h
+@@ -63,7 +63,7 @@
+ %{shared:-lc} \
+ %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
+
+-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
++#define LIBGCC_SPEC "-lgcc"
+
+ #ifdef USE_UCLIBC
+ #define LINUX_TARGET_INTERPRETER "/lib/ld-uClibc.so.0"
+--- a/gcc/config/arm/t-linux
++++ b/gcc/config/arm/t-linux
+@@ -4,7 +4,10 @@ TARGET_LIBGCC2_CFLAGS = -fomit-frame-poi
LIBGCC2_DEBUG_CFLAGS = -g0
LIB1ASMSRC = arm/lib1funcs.asm
@@ -12,15 +23,3 @@
# MULTILIB_OPTIONS = mhard-float/msoft-float
# MULTILIB_DIRNAMES = hard-float soft-float
-
---- gcc-4.2-20061205/gcc/config/arm/linux-elf.h 2006-12-08 15:18:33.000000000 -0800
-+++ gcc-4.2-20061205/gcc/config/arm/linux-elf.h 2006-12-08 15:18:33.000000000 -0800
-@@ -63,7 +63,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 GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
-