This matches gas behavior and is part of pr31888.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298508
91177308-0d34-0410-b5e6-
96231b3b80d8
Type = ELF::SHT_INIT_ARRAY;
else if (hasPrefix(SectionName, ".bss."))
Type = ELF::SHT_NOBITS;
+ else if (hasPrefix(SectionName, ".tbss."))
+ Type = ELF::SHT_NOBITS;
else if (SectionName == ".fini_array")
Type = ELF::SHT_FINI_ARRAY;
else if (SectionName == ".preinit_array")
.space 1
.section .bss.foo
.space 1
+.section .tbss
+.space 1
+.section .tbss.foo
+.space 1
# CHECK: Name: .nobits
# CHECK-NEXT: Type: SHT_PROGBITS
# CHECK: Name: .nobits2
# CHECK-NEXT: Type: SHT_NOBITS
# CHECK: Name: .bss.foo
# CHECK-NEXT: Type: SHT_NOBITS
+# CHECK: Name: .tbss
+# CHECK-NEXT: Type: SHT_NOBITS
+# CHECK: Name: .tbss.foo
+# CHECK-NEXT: Type: SHT_NOBITS