mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-27 14:45:24 +00:00
2298ce3d6a
This fixes pr23196. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235167 91177308-0d34-0410-b5e6-96231b3b80d8
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
|