blob: 1a7e2b2b890096f832b3344492c629efff79264c [file] [log] [blame]
Jim Laskey8e8de8f2006-09-07 22:05:02 +00001//===-- IA64TargetAsmInfo.cpp - IA64 asm properties -------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by James M. Laskey and is distributed under the
6// University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the declarations of the IA64TargetAsmInfo properties.
11//
12//===----------------------------------------------------------------------===//
13
14#include "IA64TargetAsmInfo.h"
15
16using namespace llvm;
17
18IA64TargetAsmInfo::IA64TargetAsmInfo(const IA64TargetMachine &TM) {
19 CommentString = "//";
20 Data8bitsDirective = "\tdata1\t"; // FIXME: check that we are
21 Data16bitsDirective = "\tdata2.ua\t"; // disabling auto-alignment
22 Data32bitsDirective = "\tdata4.ua\t"; // properly
23 Data64bitsDirective = "\tdata8.ua\t";
24 ZeroDirective = "\t.skip\t";
25 AsciiDirective = "\tstring\t";
26
27 GlobalVarAddrPrefix="";
28 GlobalVarAddrSuffix="";
29 FunctionAddrPrefix="@fptr(";
30 FunctionAddrSuffix=")";
31
32 // FIXME: would be nice to have rodata (no 'w') when appropriate?
33 ConstantPoolSection = "\n\t.section .data, \"aw\", \"progbits\"\n";
34}