blob: d0bd87c21f1cec1b81d64f645c6fb5daf4a426a6 [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 Lattneraf76e592009-08-22 20:48:53 +000017MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT) {
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000018 AlignmentIsInBytes = false;
19 COMMDirectiveTakesAlignment = true;
20 Data16bitsDirective = "\t.half\t";
21 Data32bitsDirective = "\t.word\t";
22 Data64bitsDirective = NULL;
23 PrivateGlobalPrefix = "$";
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000024 CommentString = "#";
Bruno Cardoso Lopes43d526d2008-07-14 14:42:54 +000025 ZeroDirective = "\t.space\t";
Chris Lattnerdfab2912009-08-11 20:30:58 +000026 PICJumpTableDirective = "\t.gpword\t";
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000027}