Sparc backend: Implements a delay slot filler that attempt to fill delay slots
[oota-llvm.git] / lib / Target / Sparc / SparcMCAsmInfo.cpp
1 //===-- SparcMCAsmInfo.cpp - Sparc 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 SparcMCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "SparcMCAsmInfo.h"
15 using namespace llvm;
16
17 SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Target &T, StringRef TT) {
18   Data16bitsDirective = "\t.half\t";
19   Data32bitsDirective = "\t.word\t";
20   Data64bitsDirective = 0;  // .xword is only supported by V9.
21   ZeroDirective = "\t.skip\t";
22   CommentString = "!";
23   HasLEB128 = true;
24   SupportsDebugInformation = true;
25   
26   SunStyleELFSectionSwitchSyntax = true;
27   UsesELFSectionDirectiveForBSS = true;
28
29   WeakRefDirective = "\t.weak\t";
30
31   PrivateGlobalPrefix = ".L";
32 }
33
34