aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/MachO/reloc-pcrel-offset.s
blob: bc611d7f369d48cd81b75c5aa8564fc65bb57e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: llvm-mc -n -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s

// CHECK: # Relocation 0
// CHECK: (('word-0', 0x1),
// CHECK: ('word-1', 0x5000002)),
// CHECK-NEXT: ])
// CHECK: ('_section_data', 'e8fbffff ff')

        .data
        .long 0

        .text
_a:
        call _a

        .subsections_via_symbols