2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3 # RUN: echo "SECTIONS { . = SIZEOF_HEADERS; \
4 # RUN: .tbss : { *(.tbss) } \
5 # RUN: .foo : { bar = .; } }" > %t.script
6 # RUN: ld.lld -o %t --script %t.script %t.o
7 # RUN: llvm-readobj -s %t | FileCheck %s
9 ## Check .foo does not get SHF_TLS flag.
13 # CHECK-NEXT: Type: SHT_NOBITS
15 # CHECK-NEXT: SHF_ALLOC
16 # CHECK-NEXT: SHF_WRITE
19 .section .tbss,"awT",@nobits