From: Venkatraman Govindaraju Date: Wed, 26 Aug 2009 18:24:12 +0000 (+0000) Subject: Generate section for bss and enable weak symbols X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=eb2aa096bb8aba742b87a99d561185bb3f8863c5;p=oota-llvm.git 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 --- diff --git a/lib/Target/Sparc/SparcMCAsmInfo.cpp b/lib/Target/Sparc/SparcMCAsmInfo.cpp index e9d1c38f828..c45d124a1c6 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"; }