blob: d0bd87c21f1cec1b81d64f645c6fb5daf4a426a6 [file] [log] [blame]
Chris Lattner621c44d2009-08-22 20:48:53 +00001//===-- MipsMCAsmInfo.cpp - Mips asm properties ---------------------------===//
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007//
8//===----------------------------------------------------------------------===//
9//
Chris Lattner621c44d2009-08-22 20:48:53 +000010// This file contains the declarations of the MipsMCAsmInfo properties.
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011//
12//===----------------------------------------------------------------------===//
13
Chris Lattner621c44d2009-08-22 20:48:53 +000014#include "MipsMCAsmInfo.h"
Dan Gohmanf17a25c2007-07-18 16:29:46 +000015using namespace llvm;
16
Chris Lattner621c44d2009-08-22 20:48:53 +000017MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT) {
Bruno Cardoso Lopes29c15352008-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 Lopes29c15352008-07-14 14:42:54 +000024 CommentString = "#";
Bruno Cardoso Lopes29c15352008-07-14 14:42:54 +000025 ZeroDirective = "\t.space\t";
Chris Lattnerdf973042009-08-11 20:30:58 +000026 PICJumpTableDirective = "\t.gpword\t";
Dan Gohmanf17a25c2007-07-18 16:29:46 +000027}