2012-03-30 17:15:32 +08:00
|
|
|
// RUN: llvm-mc -triple=armv7-linux-gnueabi -filetype=obj %s -o - | \
|
|
|
|
// RUN: elf-dump | FileCheck -check-prefix=OBJ %s
|
|
|
|
|
|
|
|
bleq some_label
|
|
|
|
bl some_label
|
|
|
|
blx some_label
|
2012-06-20 00:03:02 +08:00
|
|
|
beq some_label
|
|
|
|
b some_label
|
2012-03-30 17:15:32 +08:00
|
|
|
// OBJ: .rel.text
|
|
|
|
|
|
|
|
// OBJ: 'r_offset', 0x00000000
|
2012-12-08 00:50:23 +08:00
|
|
|
// OBJ-NEXT: 'r_sym', 0x000005
|
2012-03-30 17:15:32 +08:00
|
|
|
// OBJ-NEXT: 'r_type', 0x1d
|
|
|
|
|
|
|
|
// OBJ: 'r_offset', 0x00000004
|
2012-12-08 00:50:23 +08:00
|
|
|
// OBJ-NEXT: 'r_sym', 0x000005
|
2012-03-30 17:15:32 +08:00
|
|
|
// OBJ-NEXT: 'r_type', 0x1c
|
|
|
|
|
|
|
|
// OBJ: 'r_offset', 0x00000008
|
2012-12-08 00:50:23 +08:00
|
|
|
// OBJ-NEXT: 'r_sym', 0x000005
|
2012-03-30 17:15:32 +08:00
|
|
|
// OBJ-NEXT: 'r_type', 0x1c
|
|
|
|
|
2012-06-20 00:03:02 +08:00
|
|
|
// OBJ: 'r_offset', 0x0000000c
|
2012-12-08 00:50:23 +08:00
|
|
|
// OBJ-NEXT: 'r_sym', 0x000005
|
2012-06-20 00:03:02 +08:00
|
|
|
// OBJ-NEXT: 'r_type', 0x1d
|
|
|
|
|
|
|
|
// OBJ: 'r_offset', 0x00000010
|
2012-12-08 00:50:23 +08:00
|
|
|
// OBJ-NEXT: 'r_sym', 0x000005
|
2012-06-20 00:03:02 +08:00
|
|
|
// OBJ-NEXT: 'r_type', 0x1d
|
|
|
|
|
2012-03-30 17:15:32 +08:00
|
|
|
// OBJ: .symtab
|
2012-12-08 00:50:23 +08:00
|
|
|
// OBJ: Symbol 5
|
2012-06-20 00:03:02 +08:00
|
|
|
// OBJ-NEXT: some_label
|