commit | 66448030685cdc3c9bfd52449e4027258aaba480 | [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 | 3a392c8714c745ffdc77da0a8589c7b0df03515f [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"; }