summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.6/arm-softfloat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6/arm-softfloat.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6/arm-softfloat.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/arm-softfloat.patch b/meta/recipes-devtools/gcc/gcc-4.6/arm-softfloat.patch
new file mode 100644
index 0000000000..01bf80d0f9
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.6/arm-softfloat.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+Index: gcc-4.6.0/gcc/config/arm/t-linux
+===================================================================
+--- gcc-4.6.0.orig/gcc/config/arm/t-linux
++++ gcc-4.6.0/gcc/config/arm/t-linux
+@@ -23,7 +23,10 @@ TARGET_LIBGCC2_CFLAGS = -fomit-frame-poi
+
+ LIB1ASMSRC = arm/lib1funcs.asm
+ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
+- _arm_addsubdf3 _arm_addsubsf3
++ _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
++ _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
++ _fixsfsi _fixunssfsi _floatdidf _floatdisf _floatundisf _floatundidf
++# _arm_addsubdf3 _arm_addsubsf3
+
+ # MULTILIB_OPTIONS = mhard-float/msoft-float
+ # MULTILIB_DIRNAMES = hard-float soft-float