MSP430MCAsmInfo.cpp revision 234353
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" 16using namespace llvm; 17 18void MSP430MCAsmInfo::anchor() { } 19 20MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, StringRef TT) { 21 PointerSize = 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