aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430MCAsmInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-11-07 17:12:58 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-11-07 17:12:58 +0000
commit603fce9ebb5c293b73f83bc57974d59db6a80ea8 (patch)
tree6df1b09b8d90edd1ee52c43c403582f04704e279 /lib/Target/MSP430/MSP430MCAsmInfo.cpp
parent5c192fbe450d0a541a40cbbf4746b6957015dc89 (diff)
Some preliminary variable asmprinting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430MCAsmInfo.cpp')
-rw-r--r--lib/Target/MSP430/MSP430MCAsmInfo.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430MCAsmInfo.cpp b/lib/Target/MSP430/MSP430MCAsmInfo.cpp
index d4ee1f1192..4e3a8d0575 100644
--- a/lib/Target/MSP430/MSP430MCAsmInfo.cpp
+++ b/lib/Target/MSP430/MSP430MCAsmInfo.cpp
@@ -15,7 +15,12 @@
using namespace llvm;
MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, const StringRef &TT) {
+ PrivateGlobalPrefix = ".L";
+ WeakRefDirective ="\t.weak\t";
+ SetDirective = "\t.set\t";
+ PCSymbol=".";
+
AlignmentIsInBytes = false;
AllowNameToStartWithDigit = true;
- PrivateGlobalPrefix = ".L";
+ UsesELFSectionDirectiveForBSS = true;
}