summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.1.2/arm-softfloat.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-03-06 12:29:32 +0000
committerKoen Kooi <koen@openembedded.org>2007-03-06 12:29:32 +0000
commitd7075380c4eb2d376f4c95e88b892575ba6a2924 (patch)
tree8959feb3af281c312ca192bb67ba66b811374204 /packages/gcc/gcc-4.1.2/arm-softfloat.patch
parent4ad49843073f688aabd85ad240f1efa082179e20 (diff)
gcc: add 4.1.2, only tested to compile for arm/eabi
Diffstat (limited to 'packages/gcc/gcc-4.1.2/arm-softfloat.patch')
-rw-r--r--packages/gcc/gcc-4.1.2/arm-softfloat.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.2/arm-softfloat.patch b/packages/gcc/gcc-4.1.2/arm-softfloat.patch
new file mode 100644
index 0000000000..c86c83ed15
--- /dev/null
+++ b/packages/gcc/gcc-4.1.2/arm-softfloat.patch
@@ -0,0 +1,16 @@
+Index: gcc-4.0.2/gcc/config/arm/t-linux
+===================================================================
+--- gcc-4.0.2.orig/gcc/config/arm/t-linux 2004-05-15 12:41:35.000000000 +0000
++++ gcc-4.0.2/gcc/config/arm/t-linux 2005-11-11 16:07:53.000000000 +0000
+@@ -4,7 +4,10 @@
+ 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