summaryrefslogtreecommitdiffstats
path: root/recipes/llvm/llvm2.7/BX_to_BLX.patch
blob: 7cf36766af2e461bfd1f4566c2bcdae005cda7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: llvm/lib/Target/ARM/ARMInstrInfo.td
===================================================================
--- llvm.orig/lib/Target/ARM/ARMInstrInfo.td	2009-10-06 12:35:26.000000000 +0000
+++ llvm/lib/Target/ARM/ARMInstrInfo.td	2009-10-06 12:36:03.000000000 +0000
@@ -645,7 +645,7 @@
                   IIC_Br, "mov lr, pc\n\tbx $func",
                   [(ARMcall_nolink GPR:$func)]>,
            Requires<[IsARM, IsNotDarwin]> {
-    let Inst{7-4}   = 0b0001;
+    let Inst{7-4}   = 0b0011;
     let Inst{19-8}  = 0b111111111111;
     let Inst{27-20} = 0b00010010;
   }