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-readobj -S %t | FileCheck %s 6 7SECTIONS { 8 . = SIZEOF_HEADERS; 9 .tbss : { *(.tbss) } 10 .foo : { bar = .; } 11} 12 13## Check .foo does not get SHF_TLS flag. 14# CHECK: Section { 15# CHECK: Index: 16# CHECK: Name: .foo 17# CHECK-NEXT: Type: SHT_PROGBITS 18# CHECK-NEXT: Flags [ 19# CHECK-NEXT: SHF_ALLOC 20# CHECK-NEXT: SHF_WRITE 21# CHECK-NEXT: ] 22