diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-08-13 23:30:21 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-08-13 23:30:21 +0000 |
| commit | 0ff6effb21071dfb4b99c02bbd743bd14cefab37 (patch) | |
| tree | 08f88c07f62f402320663b559c9f558a75849877 /lib/Target/PowerPC/PPCTargetAsmInfo.cpp | |
| parent | 02f7bd5a38a6712f438cbee3cbcf7ef0b1f0618d (diff) | |
| download | external_llvm-0ff6effb21071dfb4b99c02bbd743bd14cefab37.zip external_llvm-0ff6effb21071dfb4b99c02bbd743bd14cefab37.tar.gz external_llvm-0ff6effb21071dfb4b99c02bbd743bd14cefab37.tar.bz2 | |
Remove HasCrazyBSS and add a flag in TAI to indicate that '.section'
must be emitted for PowerPC-Linux '.bss' section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetAsmInfo.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCTargetAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp index 36cf2a5..864475b 100644 --- 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; |
