blob: ad7d380b56317034b9866794339fae926bebf3d4 [file] [log] [blame]
Chris Lattneraf76e592009-08-22 20:48:53 +00001//===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
Anton Korobeynikovf2c3e172009-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 Lattneraf76e592009-08-22 20:48:53 +000010// This file contains the declarations of the MSP430MCAsmInfo properties.
Anton Korobeynikovf2c3e172009-05-03 12:57:15 +000011//
12//===----------------------------------------------------------------------===//
13
Chris Lattneraf76e592009-08-22 20:48:53 +000014#include "MSP430MCAsmInfo.h"
Anton Korobeynikovf2c3e172009-05-03 12:57:15 +000015using namespace llvm;
16
Benjamin Kramer38e59892010-07-14 22:38:02 +000017MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, StringRef TT) {
Evan Cheng1be0e272011-07-15 02:09:41 +000018 PointerSize = 2;
19
Anton Korobeynikov603fce92009-11-07 17:12:58 +000020 PrivateGlobalPrefix = ".L";
21 WeakRefDirective ="\t.weak\t";
Anton Korobeynikov603fce92009-11-07 17:12:58 +000022 PCSymbol=".";
Anton Korobeynikov3c97fc92009-11-22 01:12:49 +000023 CommentString = ";";
Anton Korobeynikov603fce92009-11-07 17:12:58 +000024
Anton Korobeynikov1394db02009-05-03 13:17:31 +000025 AlignmentIsInBytes = false;
Anton Korobeynikovc6f729e2009-09-18 16:57:42 +000026 AllowNameToStartWithDigit = true;
Anton Korobeynikov603fce92009-11-07 17:12:58 +000027 UsesELFSectionDirectiveForBSS = true;
Anton Korobeynikovf2c3e172009-05-03 12:57:15 +000028}