summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.2.3/arm-crunch-floatunsidf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-4.2.3/arm-crunch-floatunsidf.patch')
-rw-r--r--meta/packages/gcc/gcc-4.2.3/arm-crunch-floatunsidf.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.2.3/arm-crunch-floatunsidf.patch b/meta/packages/gcc/gcc-4.2.3/arm-crunch-floatunsidf.patch
new file mode 100644
index 0000000000..2fe2254db9
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.2.3/arm-crunch-floatunsidf.patch
@@ -0,0 +1,37 @@
1--- gcc-4.1.2/gcc/config/arm/ieee754-df-original.S 2007-06-25 14:05:35.000000000 +1000
2+++ gcc-4.1.2/gcc/config/arm/ieee754-df.S 2007-06-25 14:08:03.000000000 +1000
3@@ -382,6 +382,8 @@
4 FUNC_END aeabi_dadd
5 FUNC_END adddf3
6
7+#ifndef __MAVERICK__ /* THIS IS A BAD HACK */
8+
9 ARM_FUNC_START floatunsidf
10 ARM_FUNC_ALIAS aeabi_ui2d floatunsidf
11
12@@ -401,8 +403,14 @@
13 FUNC_END aeabi_ui2d
14 FUNC_END floatunsidf
15
16+#endif
17+
18 ARM_FUNC_START floatsidf
19 ARM_FUNC_ALIAS aeabi_i2d floatsidf
20+#ifdef __MAVERICK__ /* THIS IS A BAD HACK */
21+ARM_FUNC_ALIAS floatunsidf floatsidf
22+ARM_FUNC_ALIAS aeabi_ui2d floatsidf
23+#endif
24
25 teq r0, #0
26 moveq r1, #0
27@@ -418,6 +426,10 @@
28 mov xh, #0
29 b LSYM(Lad_l)
30
31+#ifdef __MAVERICK__ /* THIS IS A BAD HACK */
32+ FUNC_END aeabi_ui2d floatsidf
33+ FUNC_END floatunsidf floatsidf
34+#endif
35 FUNC_END aeabi_i2d
36 FUNC_END floatsidf
37