diff options
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2009-08-26 18:24:12 +0000 |
---|---|---|
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2009-08-26 18:24:12 +0000 |
commit | eb2aa096bb8aba742b87a99d561185bb3f8863c5 (patch) | |
tree | 14b5f1b0650698d0af8c6989193e65f700a30c8d /lib/Target/Sparc/SparcMCAsmInfo.cpp | |
parent | e4696cf03d00586eb23bb7f4c1b914c8b5e268b7 (diff) | |
download | external_llvm-eb2aa096bb8aba742b87a99d561185bb3f8863c5.zip external_llvm-eb2aa096bb8aba742b87a99d561185bb3f8863c5.tar.gz external_llvm-eb2aa096bb8aba742b87a99d561185bb3f8863c5.tar.bz2 |
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/Sparc/SparcMCAsmInfo.cpp')
-rw-r--r-- | lib/Target/Sparc/SparcMCAsmInfo.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Target &T, const StringRef &TT) { COMMDirectiveTakesAlignment = true; SunStyleELFSectionSwitchSyntax = true; + UsesELFSectionDirectiveForBSS = true; + + WeakRefDirective = "\t.weak\t"; + SetDirective = "\t.set\t"; + + PrivateGlobalPrefix = ".L"; } |