forked from OSchip/llvm-project
15 lines
344 B
ArmAsm
15 lines
344 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
|
|
// RUN: ld.lld2 %t -o %tout
|
|
// RUN: llvm-objdump -t -d %tout | FileCheck %s
|
|
// REQUIRES: x86
|
|
|
|
.global _start
|
|
_start:
|
|
movl $1, sym1(%rip)
|
|
|
|
.global sym1
|
|
.comm sym1,4,4
|
|
|
|
// CHECK: 11000: {{.*}} movl $1, 4086(%rip)
|
|
// CHECK: 0000000000012000 g .bss 00000004 sym1
|