1# REQUIRES: x86 2# RUN: echo '.short 0; .bss; .zero 4; .comm q,128,8' \ 3# RUN: | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t 4# RUN: ld.lld -o %t1 --script %s %t 5# RUN: llvm-readelf -S %t1 | FileCheck %s 6# CHECK: .bss1 NOBITS 7# CHECK-NEXT: .bss2 NOBITS 8 9SECTIONS { 10 . = SIZEOF_HEADERS; 11 .text : { *(.text*) } 12 .bss1 : { *(.bss) } 13 .bss2 : { *(COMMON) } 14} 15