mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
e7d4a4c6c8
Also updated tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116753 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
354 B
ArmAsm
16 lines
354 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
|
|
|
|
.global zed
|
|
foo:
|
|
nop
|
|
bar:
|
|
nop
|
|
zed:
|
|
mov zed+(bar-foo), %eax
|
|
|
|
// CHECK: # Relocation 0x0
|
|
// CHECK-NEXT: (('r_offset', 0x5)
|
|
// CHECK-NEXT: ('r_sym', 0x6)
|
|
// CHECK-NEXT: ('r_type', 0xb)
|
|
// CHECK-NEXT: ('r_addend', 0x1)
|