MSP430MCAsmInfo.cpp revision 2d24e2a396a1d211baaeedf32148a3b657240170
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"
15using namespace llvm;
16
17void MSP430MCAsmInfo::anchor() { }
18
19MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, StringRef TT) {
20  PointerSize = 2;
21
22  PrivateGlobalPrefix = ".L";
23  WeakRefDirective ="\t.weak\t";
24  PCSymbol=".";
25  CommentString = ";";
26
27  AlignmentIsInBytes = false;
28  AllowNameToStartWithDigit = true;
29  UsesELFSectionDirectiveForBSS = true;
30}
31