blob: cfb499d132353f693249e41ac1cf43f0f44c5ac1 [file] [log] [blame]
Chris Lattner621c44d2009-08-22 20:48:53 +00001//===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
Anton Korobeynikov37171572009-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 Lattner621c44d2009-08-22 20:48:53 +000010// This file contains the declarations of the MSP430MCAsmInfo properties.
Anton Korobeynikov37171572009-05-03 12:57:15 +000011//
12//===----------------------------------------------------------------------===//
13
Chris Lattner621c44d2009-08-22 20:48:53 +000014#include "MSP430MCAsmInfo.h"
Anton Korobeynikov37171572009-05-03 12:57:15 +000015using namespace llvm;
16
Chris Lattner50f82ef2010-01-20 06:34:14 +000017MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, const StringRef &TT) {
Anton Korobeynikovc51a65b2009-11-07 17:12:58 +000018 PrivateGlobalPrefix = ".L";
19 WeakRefDirective ="\t.weak\t";
Anton Korobeynikovc51a65b2009-11-07 17:12:58 +000020 PCSymbol=".";
Anton Korobeynikov16cbc572009-11-22 01:12:49 +000021 CommentString = ";";
Anton Korobeynikovc51a65b2009-11-07 17:12:58 +000022
Anton Korobeynikova5a157b2009-05-03 13:17:31 +000023 AlignmentIsInBytes = false;
Anton Korobeynikov3789f872009-09-18 16:57:42 +000024 AllowNameToStartWithDigit = true;
Anton Korobeynikovc51a65b2009-11-07 17:12:58 +000025 UsesELFSectionDirectiveForBSS = true;
Anton Korobeynikov37171572009-05-03 12:57:15 +000026}