1# REQUIRES: x86 2 3# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o 4# RUN: echo '{ common; };' > %t.list 5# RUN: ld.lld --dynamic-list %t.list -shared %t.o -o %t.so 6 7# RUN: llvm-readobj -r %t.so | FileCheck %s 8 9# CHECK: R_X86_64_GLOB_DAT common 0x0 10 11movq common@gotpcrel(%rip), %rax 12 13.type common,@object 14.comm common,4,4 15