blob: ed2ea762f87251e4279239b298135acd740c9d55 [file] [log] [blame]
# REQUIRES: x86
# RUN: echo '.section .tbss,"awT",@nobits; .quad 0' \
# RUN: | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o
# RUN: ld.lld -o %t --script %s %t.o
# RUN: llvm-readobj -S %t | FileCheck %s
SECTIONS {
. = SIZEOF_HEADERS;
.tbss : { *(.tbss) }
.foo : { bar = .; }
}
## Check .foo does not get SHF_TLS flag.
# CHECK: Section {
# CHECK: Index:
# CHECK: Name: .foo
# CHECK-NEXT: Type: SHT_PROGBITS
# CHECK-NEXT: Flags [
# CHECK-NEXT: SHF_ALLOC
# CHECK-NEXT: SHF_WRITE
# CHECK-NEXT: ]