aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ARM/elf-reloc-condcall.s
blob: 3fafb43eb060f14634df875237a658afc2aaa939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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
        beq some_label
        b some_label
// OBJ: .rel.text

// OBJ: 'r_offset', 0x00000000
// OBJ-NEXT:  'r_sym', 0x000005
// OBJ-NEXT: 'r_type', 0x1d

// OBJ: 'r_offset', 0x00000004
// OBJ-NEXT:  'r_sym', 0x000005
// OBJ-NEXT: 'r_type', 0x1c

// OBJ: 'r_offset', 0x00000008
// OBJ-NEXT:  'r_sym', 0x000005
// OBJ-NEXT: 'r_type', 0x1c

// OBJ: 'r_offset', 0x0000000c
// OBJ-NEXT:  'r_sym', 0x000005
// OBJ-NEXT: 'r_type', 0x1d

// OBJ: 'r_offset', 0x00000010
// OBJ-NEXT:  'r_sym', 0x000005
// OBJ-NEXT: 'r_type', 0x1d

// OBJ: .symtab
// OBJ: Symbol 5
// OBJ-NEXT: some_label