mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
f194367792
Many of these predate llvm-readobj. With elf-dump we had to match a relocation to symbol number and symbol number to symbol name or section number. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235015 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
343 B
ArmAsm
19 lines
343 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux < %s | llvm-readobj -r | FileCheck %s
|
|
|
|
// CHECK: Section {{.*}} .rela.text {
|
|
// CHECK-NEXT: 0x0 R_X86_64_32 d 0x0
|
|
// CHECK-NEXT: }
|
|
|
|
a:
|
|
b = a
|
|
c = a
|
|
d = a
|
|
.weak d
|
|
.long d + (b - c)
|
|
|
|
|
|
a2:
|
|
.weak b2
|
|
b2 = a2
|
|
c2 = b2 - a2
|