summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.0.4/generic/arm-softfloat.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc-4.0.4/generic/arm-softfloat.diff')
-rw-r--r--patches/gcc-4.0.4/generic/arm-softfloat.diff38
1 files changed, 0 insertions, 38 deletions
diff --git a/patches/gcc-4.0.4/generic/arm-softfloat.diff b/patches/gcc-4.0.4/generic/arm-softfloat.diff
deleted file mode 100644
index 21aae77..0000000
--- a/patches/gcc-4.0.4/generic/arm-softfloat.diff
+++ /dev/null
@@ -1,38 +0,0 @@
-Index: gcc/config/arm/linux-elf.h
-===================================================================
---- a/gcc/config/arm/linux-elf.h.orig
-+++ b/gcc/config/arm/linux-elf.h
-@@ -57,7 +57,7 @@
-
- #undef MULTILIB_DEFAULTS
- #define MULTILIB_DEFAULTS \
-- { "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mno-thumb-interwork" }
-+ { "marm", TARGET_ENDIAN_OPTION, "msoft-float" "mhard-float", "mno-thumb-interwork" }
-
- /* The GNU C++ standard library requires that these macros be defined. */
- #undef CPLUSPLUS_CPP_SPEC
-@@ -70,7 +70,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
-Index: gcc/config/arm/t-linux
-===================================================================
---- a/gcc/config/arm/t-linux.orig
-+++ b/gcc/config/arm/t-linux
-@@ -4,7 +4,10 @@ TARGET_LIBGCC2_CFLAGS = -fomit-frame-poi
- LIBGCC2_DEBUG_CFLAGS = -g0
-
- LIB1ASMSRC = arm/lib1funcs.asm
--LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
-+LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
-+ _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
-+ _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
-+ _fixsfsi _fixunssfsi _floatdidf _floatdisf
-
- # MULTILIB_OPTIONS = mhard-float/msoft-float
- # MULTILIB_DIRNAMES = hard-float soft-float