mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
332519bf88
This fixes pr23196. llvm-svn: 235167
19 lines
360 B
ArmAsm
19 lines
360 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu < %s | llvm-readobj -r | FileCheck %s
|
|
|
|
// CHECK: Relocations [
|
|
// CHECK-NEXT: Section {{.*}} .rela.text {
|
|
// CHECK-NEXT: 0x1 R_X86_64_32 zed 0x0
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|
|
|
|
foo:
|
|
movl $zed, %eax
|
|
|
|
|
|
.section .data.bar,"aGw",@progbits,zed,comdat
|
|
bar:
|
|
.byte 42
|
|
|
|
.globl zed
|
|
zed = bar
|