Home | History | Annotate | Download | only in MCTargetDesc
      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(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 }
     32