mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Add default typo to .tbss.*
This matches gas behavior and is part of pr31888. llvm-svn: 298508
This commit is contained in:
parent
ddb4e14d65
commit
51a1f661a4
@ -573,6 +573,8 @@ EndStmt:
|
||||
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")
|
||||
|
@ -36,6 +36,10 @@
|
||||
.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
|
||||
@ -72,3 +76,7 @@
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user