forked from OSchip/llvm-project
28 lines
994 B
C++
28 lines
994 B
C++
//===-- MipsMCAsmInfo.cpp - Mips 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 MipsMCAsmInfo properties.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "MipsMCAsmInfo.h"
|
|
using namespace llvm;
|
|
|
|
MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT) {
|
|
AlignmentIsInBytes = false;
|
|
COMMDirectiveTakesAlignment = true;
|
|
Data16bitsDirective = "\t.half\t";
|
|
Data32bitsDirective = "\t.word\t";
|
|
Data64bitsDirective = NULL;
|
|
PrivateGlobalPrefix = "$";
|
|
CommentString = "#";
|
|
ZeroDirective = "\t.space\t";
|
|
PICJumpTableDirective = "\t.gpword\t";
|
|
}
|