diff options
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99369.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99369.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99369.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99369.patch new file mode 100644 index 0000000000..9bbc020629 --- /dev/null +++ b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99369.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | 2010-08-20 Jie Zhang <jie@codesourcery.com> | ||
2 | |||
3 | Merged from Sourcery G++ 4.4: | ||
4 | |||
5 | gcc/ | ||
6 | 2009-05-29 Julian Brown <julian@codesourcery.com> | ||
7 | Merged from Sourcery G++ 4.3: | ||
8 | * config/arm/arm.md (movsi): Don't split symbol refs here. | ||
9 | (define_split): New. | ||
10 | |||
11 | 2010-08-18 Julian Brown <julian@codesourcery.com> | ||
12 | |||
13 | Issue #9222 | ||
14 | |||
15 | === modified file 'gcc/config/arm/arm.md' | ||
16 | --- old/gcc/config/arm/arm.md 2010-08-20 16:41:37 +0000 | ||
17 | +++ new/gcc/config/arm/arm.md 2010-08-23 14:39:12 +0000 | ||
18 | @@ -5150,14 +5150,6 @@ | ||
19 | optimize && can_create_pseudo_p ()); | ||
20 | DONE; | ||
21 | } | ||
22 | - | ||
23 | - if (TARGET_USE_MOVT && !target_word_relocations | ||
24 | - && GET_CODE (operands[1]) == SYMBOL_REF | ||
25 | - && !flag_pic && !arm_tls_referenced_p (operands[1])) | ||
26 | - { | ||
27 | - arm_emit_movpair (operands[0], operands[1]); | ||
28 | - DONE; | ||
29 | - } | ||
30 | } | ||
31 | else /* TARGET_THUMB1... */ | ||
32 | { | ||
33 | @@ -5265,6 +5257,19 @@ | ||
34 | " | ||
35 | ) | ||
36 | |||
37 | +(define_split | ||
38 | + [(set (match_operand:SI 0 "arm_general_register_operand" "") | ||
39 | + (match_operand:SI 1 "general_operand" ""))] | ||
40 | + "TARGET_32BIT | ||
41 | + && TARGET_USE_MOVT && GET_CODE (operands[1]) == SYMBOL_REF | ||
42 | + && !flag_pic && !target_word_relocations | ||
43 | + && !arm_tls_referenced_p (operands[1])" | ||
44 | + [(clobber (const_int 0))] | ||
45 | +{ | ||
46 | + arm_emit_movpair (operands[0], operands[1]); | ||
47 | + DONE; | ||
48 | +}) | ||
49 | + | ||
50 | (define_insn "*thumb1_movsi_insn" | ||
51 | [(set (match_operand:SI 0 "nonimmediate_operand" "=l,l,l,l,l,>,l, m,*lhk") | ||
52 | (match_operand:SI 1 "general_operand" "l, I,J,K,>,l,mi,l,*lhk"))] | ||
53 | |||