summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.2.1/arm-crunch-floatunsidf.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-30 14:50:58 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-30 14:50:58 +0000
commitb026cba70e6ddba33680f90c2693738b7c19a9b7 (patch)
tree9018106d6778cb88386c852940d617e0c5d99152 /packages/gcc/gcc-4.2.1/arm-crunch-floatunsidf.patch
parent634f80151cba377aedff02a302f44eaa5b52af7c (diff)
gcc 4.2.1: add patches for maverick crunch on ep93xx (That's an FPU)
Diffstat (limited to 'packages/gcc/gcc-4.2.1/arm-crunch-floatunsidf.patch')
-rw-r--r--packages/gcc/gcc-4.2.1/arm-crunch-floatunsidf.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.1/arm-crunch-floatunsidf.patch b/packages/gcc/gcc-4.2.1/arm-crunch-floatunsidf.patch
new file mode 100644
index 0000000000..2fe2254db9
--- /dev/null
+++ b/packages/gcc/gcc-4.2.1/arm-crunch-floatunsidf.patch
@@ -0,0 +1,37 @@
+--- gcc-4.1.2/gcc/config/arm/ieee754-df-original.S 2007-06-25 14:05:35.000000000 +1000
++++ gcc-4.1.2/gcc/config/arm/ieee754-df.S 2007-06-25 14:08:03.000000000 +1000
+@@ -382,6 +382,8 @@
+ FUNC_END aeabi_dadd
+ FUNC_END adddf3
+
++#ifndef __MAVERICK__ /* THIS IS A BAD HACK */
++
+ ARM_FUNC_START floatunsidf
+ ARM_FUNC_ALIAS aeabi_ui2d floatunsidf
+
+@@ -401,8 +403,14 @@
+ FUNC_END aeabi_ui2d
+ FUNC_END floatunsidf
+
++#endif
++
+ ARM_FUNC_START floatsidf
+ ARM_FUNC_ALIAS aeabi_i2d floatsidf
++#ifdef __MAVERICK__ /* THIS IS A BAD HACK */
++ARM_FUNC_ALIAS floatunsidf floatsidf
++ARM_FUNC_ALIAS aeabi_ui2d floatsidf
++#endif
+
+ teq r0, #0
+ moveq r1, #0
+@@ -418,6 +426,10 @@
+ mov xh, #0
+ b LSYM(Lad_l)
+
++#ifdef __MAVERICK__ /* THIS IS A BAD HACK */
++ FUNC_END aeabi_ui2d floatsidf
++ FUNC_END floatunsidf floatsidf
++#endif
+ FUNC_END aeabi_i2d
+ FUNC_END floatsidf
+