1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/MC/ELF/alias-to-local.s
Rafael Espindola 332519bf88 Don't walk aliases from global to local symbols in comdats.
This fixes pr23196.

llvm-svn: 235167
2015-04-17 08:46:11 +00:00

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