summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/arm_fixups.s
diff options
context:
space:
mode:
authorJason W Kim <jason.w.kim.2009@gmail.com>2011-02-04 19:47:15 +0000
committerJason W Kim <jason.w.kim.2009@gmail.com>2011-02-04 19:47:15 +0000
commitd2e2f56c3654a07b42fe1bd47ad3a832ce0d74ea (patch)
treed6806ee94c9b0db07aab09012cc3412213c7be27 /llvm/test/MC/ARM/arm_fixups.s
parent096bd8837fd1e90c10db05af2614c962946a7a8a (diff)
downloadbcm5719-llvm-d2e2f56c3654a07b42fe1bd47ad3a832ce0d74ea.tar.gz
bcm5719-llvm-d2e2f56c3654a07b42fe1bd47ad3a832ce0d74ea.zip
Teach ARM/MC/ELF to handle R_ARM_JUMP24 relocation type for conditional jumps.
(yes, this is different from R_ARM_CALL) - Adds a new method getARMBranchTargetOpValue() which handles the necessary distinction between the conditional and unconditional br/bl needed for ARM/ELF At least for ARM mode, the needed fixup for conditional versus unconditional br/bl is identical, but the ARM docs and existing ARM tools expect this reloc type... Added a few FIXME's for future naming fixups in ARMInstrInfo.td llvm-svn: 124895
Diffstat (limited to 'llvm/test/MC/ARM/arm_fixups.s')
-rw-r--r--llvm/test/MC/ARM/arm_fixups.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/ARM/arm_fixups.s b/llvm/test/MC/ARM/arm_fixups.s
index 146de9cf26c..0dceb83c24a 100644
--- a/llvm/test/MC/ARM/arm_fixups.s
+++ b/llvm/test/MC/ARM/arm_fixups.s
@@ -2,6 +2,6 @@
// RUN: FileCheck < %t %s
// CHECK: bl _printf @ encoding: [A,A,A,0xeb]
-// CHECK: @ fixup A - offset: 0, value: _printf, kind: fixup_arm_branch
+// CHECK: @ fixup A - offset: 0, value: _printf, kind: fixup_arm_uncondbranch
bl _printf
\ No newline at end of file
OpenPOWER on IntegriCloud