summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.3.3/arm-thumb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.3.3/arm-thumb.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.3.3/arm-thumb.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.3.3/arm-thumb.patch b/meta/recipes-devtools/gcc/gcc-4.3.3/arm-thumb.patch
new file mode 100644
index 0000000000..7b0b8b2ddc
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.3.3/arm-thumb.patch
@@ -0,0 +1,43 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6Index: gcc-4.3.1/gcc/config/arm/lib1funcs.asm
7===================================================================
8--- gcc-4.3.1.orig/gcc/config/arm/lib1funcs.asm 2007-05-30 12:04:09.000000000 -0700
9+++ gcc-4.3.1/gcc/config/arm/lib1funcs.asm 2008-08-28 21:51:17.000000000 -0700
10@@ -1225,11 +1225,12 @@
11 code here switches to the correct mode before executing the function. */
12
13 .text
14- .align 0
15+ .align 1
16 .force_thumb
17
18 .macro call_via register
19 THUMB_FUNC_START _call_via_\register
20+ .hidden SYM (_call_via_\register)
21
22 bx \register
23 nop
24@@ -1330,6 +1331,7 @@
25 .code 16
26
27 THUMB_FUNC_START _interwork_call_via_\register
28+ .hidden SYM (_interwork_call_via_\register)
29
30 bx pc
31 nop
32Index: gcc-4.3.1/gcc/config/arm/t-linux
33===================================================================
34--- gcc-4.3.1.orig/gcc/config/arm/t-linux 2008-08-28 21:25:24.000000000 -0700
35+++ gcc-4.3.1/gcc/config/arm/t-linux 2008-08-28 21:51:17.000000000 -0700
36@@ -6,6 +6,7 @@
37 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
38 _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
39 _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
40+ _call_via_rX \
41 _fixsfsi _fixunssfsi _floatdidf _floatdisf _floatundisf _floatundidf
42
43 # MULTILIB_OPTIONS = mhard-float/msoft-float