1# REQUIRES: x86 2# RUN: echo '.section .tbss,"awT",@nobits; .quad 0' \ 3# RUN: | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o 4# RUN: ld.lld -o %t --script %s %t.o 5# RUN: llvm-readelf -S %t | FileCheck %s 6 7## Check .foo does not get SHF_TLS flag. 8# CHECK: .tbss NOBITS [[#%x,]] [[#%x,]] [[#%x,]] 00 WAT 9# CHECK-NEXT: .foo PROGBITS [[#%x,]] [[#%x,]] [[#%x,]] 00 WA 10 11SECTIONS { 12 . = SIZEOF_HEADERS; 13 .tbss : { *(.tbss) } 14 .foo : { bar = .; } 15} 16