give MCAsmInfo a 'has little endian' bit. This is unfortunate, but
[oota-llvm.git] / lib / Target / Mips / MipsMCAsmInfo.cpp
1 //===-- MipsMCAsmInfo.cpp - Mips asm properties ---------------------------===//
2 //
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 //
10 // This file contains the declarations of the MipsMCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "MipsMCAsmInfo.h"
15 using namespace llvm;
16
17 MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT,
18                              bool isLittleEndian) : MCAsmInfo(isLittleEndian) {
19   AlignmentIsInBytes          = false;
20   COMMDirectiveTakesAlignment = true;
21   Data16bitsDirective         = "\t.half\t";
22   Data32bitsDirective         = "\t.word\t";
23   Data64bitsDirective         = 0;
24   PrivateGlobalPrefix         = "$";
25   CommentString               = "#";
26   ZeroDirective               = "\t.space\t";
27   PICJumpTableDirective       = "\t.gpword\t";
28 }