1 //===-- MipsMCAsmInfo.cpp - Mips asm properties ---------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declarations of the MipsMCAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "MipsMCAsmInfo.h"
15 #include "llvm/ADT/Triple.h"
19 MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, StringRef TT) {
21 if (TheTriple.getArch() == Triple::mips)
22 IsLittleEndian = false;
24 AlignmentIsInBytes = false;
25 Data16bitsDirective = "\t.2byte\t";
26 Data32bitsDirective = "\t.4byte\t";
27 Data64bitsDirective = 0;
28 PrivateGlobalPrefix = "$";
30 ZeroDirective = "\t.space\t";
31 GPRel32Directive = "\t.gpword\t";
32 WeakRefDirective = "\t.weak\t";
34 SupportsDebugInformation = true;
35 ExceptionsType = ExceptionHandling::DwarfCFI;
37 DwarfRegNumForCFI = true;