mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 16:31:16 +00:00
da3e9f760c
relative to the fragment address, not its offset. This was masked by the text section normally being at address 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98420 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
340 B
ArmAsm
15 lines
340 B
ArmAsm
// 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', '\xe8\xfb\xff\xff\xff')
|
|
|
|
.data
|
|
.long 0
|
|
|
|
.text
|
|
_a:
|
|
call _a
|