Bring r240130 back.
[oota-llvm.git] / test / MC / ELF / alias-to-local.s
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu < %s | llvm-readobj -r | FileCheck %s
2
3 // CHECK:      Relocations [
4 // CHECK-NEXT:   Section {{.*}} .rela.text {
5 // CHECK-NEXT:     0x1 R_X86_64_32 zed 0x0
6 // CHECK-NEXT:   }
7 // CHECK-NEXT: ]
8
9 foo:
10         movl    $zed, %eax
11
12
13         .section        .data.bar,"aGw",@progbits,zed,comdat
14 bar:
15         .byte   42
16
17         .globl  zed
18 zed = bar