summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorVenkatraman Govindaraju <venkatra@cs.wisc.edu>2009-08-26 18:24:12 +0000
committerVenkatraman Govindaraju <venkatra@cs.wisc.edu>2009-08-26 18:24:12 +0000
commiteb2aa096bb8aba742b87a99d561185bb3f8863c5 (patch)
tree14b5f1b0650698d0af8c6989193e65f700a30c8d /lib/Target
parente4696cf03d00586eb23bb7f4c1b914c8b5e268b7 (diff)
downloadllvm-eb2aa096bb8aba742b87a99d561185bb3f8863c5.tar.gz
llvm-eb2aa096bb8aba742b87a99d561185bb3f8863c5.tar.bz2
llvm-eb2aa096bb8aba742b87a99d561185bb3f8863c5.tar.xz
Generate section for bss and enable weak symbols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/Sparc/SparcMCAsmInfo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcMCAsmInfo.cpp b/lib/Target/Sparc/SparcMCAsmInfo.cpp
index e9d1c38f82..c45d124a1c 100644
--- a/lib/Target/Sparc/SparcMCAsmInfo.cpp
+++ b/lib/Target/Sparc/SparcMCAsmInfo.cpp
@@ -24,6 +24,12 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Target &T, const StringRef &TT) {
COMMDirectiveTakesAlignment = true;
SunStyleELFSectionSwitchSyntax = true;
+ UsesELFSectionDirectiveForBSS = true;
+
+ WeakRefDirective = "\t.weak\t";
+ SetDirective = "\t.set\t";
+
+ PrivateGlobalPrefix = ".L";
}