aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/llvm/llvm2.7/BX_to_BLX.patch
blob: 2e34c623b4d73a8fcb1eb693c1fa72272244f6a0 (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	2010-03-08 16:07:25.000000000 +0100
+++ llvm/lib/Target/ARM/ARMInstrInfo.td	2010-03-08 16:10:21.000000000 +0100
@@ -942,7 +942,7 @@
                   IIC_Br, "mov\tlr, pc\n\tbx\t$func",
                   [(ARMcall_nolink tGPR:$func)]>,
            Requires<[IsARM, HasV4T, IsNotDarwin]> {
-    let Inst{7-4}   = 0b0001;
+    let Inst{7-4}   = 0b0011;
     let Inst{19-8}  = 0b111111111111;
     let Inst{27-20} = 0b00010010;
   }