~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/ELF/alias-to-local.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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