zpu: managed to compile program that writes constant to global variable
[llvm/zpu.git] / lib / Target / Mips / MipsMCAsmInfo.cpp
blobfe48ab770e68b6ed50347d1904aef919350a254e
1 //===-- MipsMCAsmInfo.cpp - Mips asm properties ---------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the MipsMCAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "MipsMCAsmInfo.h"
15 using namespace llvm;
17 MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, StringRef TT) {
18 AlignmentIsInBytes = false;
19 Data16bitsDirective = "\t.half\t";
20 Data32bitsDirective = "\t.word\t";
21 Data64bitsDirective = 0;
22 PrivateGlobalPrefix = "$";
23 CommentString = "#";
24 ZeroDirective = "\t.space\t";
25 GPRel32Directive = "\t.gpword\t";
26 HasSetDirective = false;