blob: 9a0c0bfdba89b37362e41de1c3346b9f932e521e [file] [log] [blame]
Chris Lattneraf76e592009-08-22 20:48:53 +00001//===-- MipsMCAsmInfo.cpp - Mips asm properties ---------------------------===//
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00002//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00007//
8//===----------------------------------------------------------------------===//
9//
Chris Lattneraf76e592009-08-22 20:48:53 +000010// This file contains the declarations of the MipsMCAsmInfo properties.
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000011//
12//===----------------------------------------------------------------------===//
13
Chris Lattneraf76e592009-08-22 20:48:53 +000014#include "MipsMCAsmInfo.h"
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000015using namespace llvm;
16
Chris Lattnerc7b88142010-01-19 22:42:28 +000017MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT,
18 bool isLittleEndian) : MCAsmInfo(isLittleEndian) {
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000019 AlignmentIsInBytes = false;
20 COMMDirectiveTakesAlignment = true;
21 Data16bitsDirective = "\t.half\t";
22 Data32bitsDirective = "\t.word\t";
Benjamin Kramerecf046b2009-08-22 22:07:08 +000023 Data64bitsDirective = 0;
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000024 PrivateGlobalPrefix = "$";
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000025 CommentString = "#";
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000026 ZeroDirective = "\t.space\t";
Chris Lattnerdfab2912009-08-11 20:30:58 +000027 PICJumpTableDirective = "\t.gpword\t";
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000028}