mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-08 04:07:07 +00:00
1be0e271a0
solution but it is a small step towards removing the horror that is TargetAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135237 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
852 B
C++
29 lines
852 B
C++
//===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the declarations of the MSP430MCAsmInfo properties.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "MSP430MCAsmInfo.h"
|
|
using namespace llvm;
|
|
|
|
MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, StringRef TT) {
|
|
PointerSize = 2;
|
|
|
|
PrivateGlobalPrefix = ".L";
|
|
WeakRefDirective ="\t.weak\t";
|
|
PCSymbol=".";
|
|
CommentString = ";";
|
|
|
|
AlignmentIsInBytes = false;
|
|
AllowNameToStartWithDigit = true;
|
|
UsesELFSectionDirectiveForBSS = true;
|
|
}
|