projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove HasCrazyBSS and add a flag in TAI to indicate that '.section'
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCTargetAsmInfo.cpp
diff --git
a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 36cf2a5570ddb2f96785c850be38db0814a90a9b..864475b30a8df8e893ba72cf340dc959c3fca4d3 100644
(file)
--- a/
lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/
lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@
-30,6
+30,9
@@
PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(bool is64Bit) {
PrivateGlobalPrefix = ".L";
UsedDirective = "\t# .no_dead_strip\t";
WeakRefDirective = "\t.weak\t";
+
+ // Uses '.section' before '.bss' directive
+ UsesELFSectionDirectiveForBSS = true;
// Debug Information
AbsoluteDebugSectionOffsets = true;