15 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o4# RUN: echo '{ common; };' > %t.list5# RUN: ld.lld --dynamic-list %t.list -shared %t.o -o %t.so6 7# RUN: llvm-readobj -r %t.so | FileCheck %s8 9# CHECK: R_X86_64_GLOB_DAT common 0x010 11movq common@gotpcrel(%rip), %rax12 13.type common,@object14.comm common,4,415