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