Drop support for an old version of ld64 (from darwin 9).
[oota-llvm.git] / lib / Target / R600 / MCTargetDesc / AMDGPUMCAsmInfo.cpp
1 //===-- MCTargetDesc/AMDGPUMCAsmInfo.cpp - Assembly Info ------------------===//
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 /// \file
9 //===----------------------------------------------------------------------===//
10
11 #include "AMDGPUMCAsmInfo.h"
12
13 using namespace llvm;
14 AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfoELF() {
15   HasSingleParameterDotFile = false;
16   //===------------------------------------------------------------------===//
17   HasSubsectionsViaSymbols = true;
18   MaxInstLength = 16;
19   SeparatorString = "\n";
20   CommentString = ";";
21   InlineAsmStart = ";#ASMSTART";
22   InlineAsmEnd = ";#ASMEND";
23
24   //===--- Data Emission Directives -------------------------------------===//
25   ZeroDirective = ".zero";
26   AsciiDirective = ".ascii\t";
27   AscizDirective = ".asciz\t";
28   Data8bitsDirective = ".byte\t";
29   Data16bitsDirective = ".short\t";
30   Data32bitsDirective = ".long\t";
31   Data64bitsDirective = ".quad\t";
32   SunStyleELFSectionSwitchSyntax = true;
33   UsesELFSectionDirectiveForBSS = true;
34
35   //===--- Global Variable Emission Directives --------------------------===//
36   GlobalDirective = ".global";
37   HasAggressiveSymbolFolding = true;
38   COMMDirectiveAlignmentIsInBytes = false;
39   HasDotTypeDotSizeDirective = false;
40   HasNoDeadStrip = true;
41   WeakRefDirective = ".weakref\t";
42   //===--- Dwarf Emission Directives -----------------------------------===//
43   SupportsDebugInformation = true;
44 }