blob: 3046f33ac040dde7e76e39025aa4ba92360379c7 [file] [log] [blame]
Bruno Cardoso Lopes35e43c42007-06-06 07:42:06 +00001//===-- MipsTargetAsmInfo.cpp - Mips asm properties -------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattnerf3ebc3f2007-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 Lopes35e43c42007-06-06 07:42:06 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the declarations of the MipsTargetAsmInfo properties.
11//
12//===----------------------------------------------------------------------===//
13
14#include "MipsTargetAsmInfo.h"
Bruno Cardoso Lopes35e43c42007-06-06 07:42:06 +000015using namespace llvm;
16
Chris Lattner9a6cf912009-08-12 07:22:17 +000017MipsTargetAsmInfo::MipsTargetAsmInfo(const Target &T, const StringRef &TT) {
Bruno Cardoso Lopes80ab8f92008-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 Lopes80ab8f92008-07-14 14:42:54 +000024 CommentString = "#";
Bruno Cardoso Lopes80ab8f92008-07-14 14:42:54 +000025 ZeroDirective = "\t.space\t";
Chris Lattnerfe271302009-08-11 20:30:58 +000026 PICJumpTableDirective = "\t.gpword\t";
Bruno Cardoso Lopes35e43c42007-06-06 07:42:06 +000027}