1 //===-- XCoreTargetAsmInfo.cpp - XCore asm properties ---------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "XCoreTargetAsmInfo.h"
13 XCoreTargetAsmInfo::XCoreTargetAsmInfo(const TargetMachine &TM)
14 : ELFTargetAsmInfo(TM) {
15 SupportsDebugInformation = true;
16 Data16bitsDirective = "\t.short\t";
17 Data32bitsDirective = "\t.long\t";
18 Data64bitsDirective = 0;
19 ZeroDirective = "\t.space\t";
22 PrivateGlobalPrefix = ".L";
23 AscizDirective = ".asciiz";
24 WeakDefDirective = "\t.weak\t";
25 WeakRefDirective = "\t.weak\t";
26 SetDirective = "\t.set\t";
30 AbsoluteDebugSectionOffsets = true;
32 DwarfAbbrevSection = "\t.section\t.debug_abbrev,\"\",@progbits";
33 DwarfInfoSection = "\t.section\t.debug_info,\"\",@progbits";
34 DwarfLineSection = "\t.section\t.debug_line,\"\",@progbits";
35 DwarfFrameSection = "\t.section\t.debug_frame,\"\",@progbits";
36 DwarfPubNamesSection = "\t.section\t.debug_pubnames,\"\",@progbits";
37 DwarfPubTypesSection = "\t.section\t.debug_pubtypes,\"\",@progbits";
38 DwarfStrSection = "\t.section\t.debug_str,\"\",@progbits";
39 DwarfLocSection = "\t.section\t.debug_loc,\"\",@progbits";
40 DwarfARangesSection = "\t.section\t.debug_aranges,\"\",@progbits";
41 DwarfRangesSection = "\t.section\t.debug_ranges,\"\",@progbits";
42 DwarfMacroInfoSection = "\t.section\t.debug_macinfo,\"\",@progbits";