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";
21 ConstantPoolSection = "\t.section\t.cp.rodata,\"ac\",@progbits";
22 JumpTableDataSection = "\t.section\t.dp.data,\"awd\",@progbits";
23 PrivateGlobalPrefix = ".L";
24 AscizDirective = ".asciiz";
25 WeakDefDirective = "\t.weak\t";
26 WeakRefDirective = "\t.weak\t";
27 SetDirective = "\t.set\t";
31 AbsoluteDebugSectionOffsets = true;
33 DwarfAbbrevSection = "\t.section\t.debug_abbrev,\"\",@progbits";
34 DwarfInfoSection = "\t.section\t.debug_info,\"\",@progbits";
35 DwarfLineSection = "\t.section\t.debug_line,\"\",@progbits";
36 DwarfFrameSection = "\t.section\t.debug_frame,\"\",@progbits";
37 DwarfPubNamesSection = "\t.section\t.debug_pubnames,\"\",@progbits";
38 DwarfPubTypesSection = "\t.section\t.debug_pubtypes,\"\",@progbits";
39 DwarfStrSection = "\t.section\t.debug_str,\"\",@progbits";
40 DwarfLocSection = "\t.section\t.debug_loc,\"\",@progbits";
41 DwarfARangesSection = "\t.section\t.debug_aranges,\"\",@progbits";
42 DwarfRangesSection = "\t.section\t.debug_ranges,\"\",@progbits";
43 DwarfMacroInfoSection = "\t.section\t.debug_macinfo,\"\",@progbits";