2009-08-23 04:48:53 +08:00
|
|
|
//===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
|
2009-05-03 20:57:15 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2009-08-23 04:48:53 +08:00
|
|
|
// This file contains the declarations of the MSP430MCAsmInfo properties.
|
2009-05-03 20:57:15 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2009-08-23 04:48:53 +08:00
|
|
|
#include "MSP430MCAsmInfo.h"
|
2012-03-27 15:54:11 +08:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2009-05-03 20:57:15 +08:00
|
|
|
using namespace llvm;
|
|
|
|
|
2011-12-20 10:50:00 +08:00
|
|
|
void MSP430MCAsmInfo::anchor() { }
|
|
|
|
|
2013-05-11 02:16:59 +08:00
|
|
|
MSP430MCAsmInfo::MSP430MCAsmInfo(StringRef TT) {
|
2013-01-24 00:22:04 +08:00
|
|
|
PointerSize = CalleeSaveStackSlotSize = 2;
|
2011-07-15 10:09:41 +08:00
|
|
|
|
2009-11-08 01:12:58 +08:00
|
|
|
PrivateGlobalPrefix = ".L";
|
|
|
|
WeakRefDirective ="\t.weak\t";
|
2009-11-22 09:12:49 +08:00
|
|
|
CommentString = ";";
|
2009-11-08 01:12:58 +08:00
|
|
|
|
2009-05-03 21:17:31 +08:00
|
|
|
AlignmentIsInBytes = false;
|
2009-09-19 00:57:42 +08:00
|
|
|
AllowNameToStartWithDigit = true;
|
2009-11-08 01:12:58 +08:00
|
|
|
UsesELFSectionDirectiveForBSS = true;
|
2009-05-03 20:57:15 +08:00
|
|
|
}
|