commit | eb2aa096bb8aba742b87a99d561185bb3f8863c5 | [log] [tgz] |
---|---|---|
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | Wed Aug 26 18:24:12 2009 +0000 |
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | Wed Aug 26 18:24:12 2009 +0000 |
tree | 14b5f1b0650698d0af8c6989193e65f700a30c8d | |
parent | e4696cf03d00586eb23bb7f4c1b914c8b5e268b7 [diff] [blame] |
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 e9d1c38..c45d124 100644 --- a/lib/Target/Sparc/SparcMCAsmInfo.cpp +++ b/lib/Target/Sparc/SparcMCAsmInfo.cpp
@@ -24,6 +24,12 @@ COMMDirectiveTakesAlignment = true; SunStyleELFSectionSwitchSyntax = true; + UsesELFSectionDirectiveForBSS = true; + + WeakRefDirective = "\t.weak\t"; + SetDirective = "\t.set\t"; + + PrivateGlobalPrefix = ".L"; }