The BLX instruction is encoded differently than the BL, because why not? In
[oota-llvm.git] / lib / Target / MSP430 / MSP430MCAsmInfo.cpp
1 //===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the MSP430MCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "MSP430MCAsmInfo.h"
15 using namespace llvm;
16
17 MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, StringRef TT) {
18   PrivateGlobalPrefix = ".L";
19   WeakRefDirective ="\t.weak\t";
20   PCSymbol=".";
21   CommentString = ";";
22
23   AlignmentIsInBytes = false;
24   AllowNameToStartWithDigit = true;
25   UsesELFSectionDirectiveForBSS = true;
26 }