give MCAsmInfo a 'has little endian' bit. This is unfortunate, but
[oota-llvm.git] / lib / Target / XCore / XCoreMCAsmInfo.cpp
1 //===-- XCoreMCAsmInfo.cpp - XCore 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 #include "XCoreMCAsmInfo.h"
11 using namespace llvm;
12
13 XCoreMCAsmInfo::XCoreMCAsmInfo(const Target &T, const StringRef &TT)
14 : MCAsmInfo(true) {
15   SupportsDebugInformation = true;
16   Data16bitsDirective = "\t.short\t";
17   Data32bitsDirective = "\t.long\t";
18   Data64bitsDirective = 0;
19   ZeroDirective = "\t.space\t";
20   CommentString = "#";
21     
22   PrivateGlobalPrefix = ".L";
23   AscizDirective = ".asciiz";
24   WeakDefDirective = "\t.weak\t";
25   WeakRefDirective = "\t.weak\t";
26   SetDirective = "\t.set\t";
27
28   // Debug
29   HasLEB128 = true;
30   AbsoluteDebugSectionOffsets = true;
31 }
32