1// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
2// RUN: ld.lld %t -o %tout
3// RUN: llvm-objdump -t -d %tout | FileCheck %s
4// REQUIRES: x86
5
6.global _start
7_start:
8  movl $1, sym1(%rip)
9
10.global sym1
11.comm sym1,4,4
12
13// CHECK: 201000: {{.*}} movl    $1, 4086(%rip)
14// CHECK: 0000000000202000 g       .bss            00000004 sym1
15