• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9foo:
10	movl	$zed, %eax
11
12
13	.section	.data.bar,"aGw",@progbits,zed,comdat
14bar:
15	.byte	42
16
17	.globl	zed
18zed = bar
19