blob: 3c9576056946df9221f31cfa87e114a2671e9719 [file] [log] [blame]
Chris Lattner7b26fce2009-08-22 20:48:53 +00001//===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
Anton Korobeynikov10138002009-05-03 12:57:15 +00002//
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//
Chris Lattner7b26fce2009-08-22 20:48:53 +000010// This file contains the declarations of the MSP430MCAsmInfo properties.
Anton Korobeynikov10138002009-05-03 12:57:15 +000011//
12//===----------------------------------------------------------------------===//
13
Chris Lattner7b26fce2009-08-22 20:48:53 +000014#include "MSP430MCAsmInfo.h"
Craig Topper1fcf5bc2012-03-27 07:54:11 +000015#include "llvm/ADT/StringRef.h"
Anton Korobeynikov10138002009-05-03 12:57:15 +000016using namespace llvm;
17
David Blaikiea379b1812011-12-20 02:50:00 +000018void MSP430MCAsmInfo::anchor() { }
19
Benjamin Kramer92d89982010-07-14 22:38:02 +000020MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, StringRef TT) {
Eli Bendersky32aab222013-01-23 16:22:04 +000021 PointerSize = CalleeSaveStackSlotSize = 2;
Evan Chenga83b37a2011-07-15 02:09:41 +000022
Anton Korobeynikov1bbc8d22009-11-07 17:12:58 +000023 PrivateGlobalPrefix = ".L";
24 WeakRefDirective ="\t.weak\t";
Anton Korobeynikov1bbc8d22009-11-07 17:12:58 +000025 PCSymbol=".";
Anton Korobeynikovd099b572009-11-22 01:12:49 +000026 CommentString = ";";
Anton Korobeynikov1bbc8d22009-11-07 17:12:58 +000027
Anton Korobeynikov3c48ea72009-05-03 13:17:31 +000028 AlignmentIsInBytes = false;
Anton Korobeynikov592638a2009-09-18 16:57:42 +000029 AllowNameToStartWithDigit = true;
Anton Korobeynikov1bbc8d22009-11-07 17:12:58 +000030 UsesELFSectionDirectiveForBSS = true;
Anton Korobeynikov10138002009-05-03 12:57:15 +000031}