2012-03-30 09:15:32 +00:00
|
|
|
// RUN: llvm-mc -triple=armv7-linux-gnueabi -filetype=obj %s -o - | \
|
2013-04-12 04:06:46 +00:00
|
|
|
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
|
2012-03-30 09:15:32 +00:00
|
|
|
|
|
|
|
bleq some_label
|
|
|
|
bl some_label
|
|
|
|
blx some_label
|
2012-06-19 16:03:02 +00:00
|
|
|
beq some_label
|
|
|
|
b some_label
|
2012-03-30 09:15:32 +00:00
|
|
|
|
2013-04-12 04:06:46 +00:00
|
|
|
// OBJ: Relocations [
|
2013-05-30 03:05:14 +00:00
|
|
|
// OBJ-NEXT: Section (2) .rel.text {
|
2013-04-12 04:06:46 +00:00
|
|
|
// OBJ-NEXT: 0x0 R_ARM_JUMP24 some_label 0x0
|
|
|
|
// OBJ-NEXT: 0x4 R_ARM_CALL some_label 0x0
|
|
|
|
// OBJ-NEXT: 0x8 R_ARM_CALL some_label 0x0
|
|
|
|
// OBJ-NEXT: 0xC R_ARM_JUMP24 some_label 0x0
|
|
|
|
// OBJ-NEXT: 0x10 R_ARM_JUMP24 some_label 0x0
|
|
|
|
// OBJ-NEXT: }
|
|
|
|
// OBJ-NEXT: ]
|