]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / llvm / lib / Target / MSP430 / MCTargetDesc / 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 #include "llvm/ADT/StringRef.h"
16 using namespace llvm;
17
18 void MSP430MCAsmInfo::anchor() { }
19
20 MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, StringRef TT) {
21   PointerSize = CalleeSaveStackSlotSize = 2;
22
23   PrivateGlobalPrefix = ".L";
24   WeakRefDirective ="\t.weak\t";
25   PCSymbol=".";
26   CommentString = ";";
27
28   AlignmentIsInBytes = false;
29   AllowNameToStartWithDigit = true;
30   UsesELFSectionDirectiveForBSS = true;
31 }