summaryrefslogtreecommitdiffstats
path: root/lib/Target/MSP430/MSP430MCAsmInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/MSP430/MSP430MCAsmInfo.cpp')
-rw-r--r--lib/Target/MSP430/MSP430MCAsmInfo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/MSP430/MSP430MCAsmInfo.cpp b/lib/Target/MSP430/MSP430MCAsmInfo.cpp
index 069313e..4e3a8d0 100644
--- a/lib/Target/MSP430/MSP430MCAsmInfo.cpp
+++ b/lib/Target/MSP430/MSP430MCAsmInfo.cpp
@@ -15,6 +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;
+ UsesELFSectionDirectiveForBSS = true;
}
OpenPOWER on IntegriCloud