blob: 9a0c0bfdba89b37362e41de1c3346b9f932e521e [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 Lattnera9182162010-01-19 22:42:28 +000017MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT,
18 bool isLittleEndian) : MCAsmInfo(isLittleEndian) {
Bruno Cardoso Lopes29c15352008-07-14 14:42:54 +000019 AlignmentIsInBytes = false;
20 COMMDirectiveTakesAlignment = true;
21 Data16bitsDirective = "\t.half\t";
22 Data32bitsDirective = "\t.word\t";
Benjamin Kramer1e556cf2009-08-22 22:07:08 +000023 Data64bitsDirective = 0;
Bruno Cardoso Lopes29c15352008-07-14 14:42:54 +000024 PrivateGlobalPrefix = "$";
Bruno Cardoso Lopes29c15352008-07-14 14:42:54 +000025 CommentString = "#";
Bruno Cardoso Lopes29c15352008-07-14 14:42:54 +000026 ZeroDirective = "\t.space\t";
Chris Lattnerdf973042009-08-11 20:30:58 +000027 PICJumpTableDirective = "\t.gpword\t";
Dan Gohmanf17a25c2007-07-18 16:29:46 +000028}