summaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-csl-arm/no-libfloat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gcc/gcc-csl-arm/no-libfloat.patch')
-rw-r--r--recipes/gcc/gcc-csl-arm/no-libfloat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-csl-arm/no-libfloat.patch b/recipes/gcc/gcc-csl-arm/no-libfloat.patch
new file mode 100644
index 0000000000..e5d12cfb4f
--- /dev/null
+++ b/recipes/gcc/gcc-csl-arm/no-libfloat.patch
@@ -0,0 +1,11 @@
+--- gcc/gcc/config/arm/linux-elf.h.old 2005-04-20 00:46:28.923375320 +0100
++++ gcc/gcc/config/arm/linux-elf.h 2005-04-20 00:46:34.181575952 +0100
+@@ -56,7 +56,7 @@
+ %{shared:-lc} \
+ %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
+
+-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
++#define LIBGCC_SPEC "-lgcc"
+
+ /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add
+ the GNU/Linux magical crtbegin.o file (see crtstuff.c) which