1 //===-- IA64TargetAsmInfo.cpp - IA64 asm properties -------------*- C++ -*-===//
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 // This file contains the declarations of the IA64TargetAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "IA64TargetAsmInfo.h"
18 IA64TargetAsmInfo::IA64TargetAsmInfo(const TargetMachine &TM):
19 ELFTargetAsmInfo(TM) {
21 Data8bitsDirective = "\tdata1\t"; // FIXME: check that we are
22 Data16bitsDirective = "\tdata2.ua\t"; // disabling auto-alignment
23 Data32bitsDirective = "\tdata4.ua\t"; // properly
24 Data64bitsDirective = "\tdata8.ua\t";
25 ZeroDirective = "\t.skip\t";
26 AsciiDirective = "\tstring\t";
28 GlobalVarAddrPrefix="";
29 GlobalVarAddrSuffix="";
30 FunctionAddrPrefix="@fptr(";
31 FunctionAddrSuffix=")";
33 // FIXME: would be nice to have rodata (no 'w') when appropriate?
34 ConstantPoolSection = "\n\t.section .data, \"aw\", \"progbits\"\n";
37 // FIXME: Support small data/bss/rodata sections someday.