blob: 61fcf83385eede6ed748cab12beecdc165fe3409 [file] [log] [blame]
Jim Laskey8e8de8f2006-09-07 22:05:02 +00001//===-- AlphaTargetAsmInfo.cpp - Alpha asm properties -----------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Jim Laskey8e8de8f2006-09-07 22:05:02 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the declarations of the AlphaTargetAsmInfo properties.
11//
12//===----------------------------------------------------------------------===//
13
Dan Gohman8f092252008-11-03 18:22:42 +000014#include "AlphaTargetMachine.h"
Jim Laskey8e8de8f2006-09-07 22:05:02 +000015#include "AlphaTargetAsmInfo.h"
16
17using namespace llvm;
18
Dan Gohman8f092252008-11-03 18:22:42 +000019AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM)
20 : TargetAsmInfo(TM) {
Jim Laskey8e8de8f2006-09-07 22:05:02 +000021 AlignmentIsInBytes = false;
22 PrivateGlobalPrefix = "$";
Andrew Lenharth0607a2f2006-09-24 19:46:56 +000023 JumpTableDirective = ".gprel32";
Chris Lattner0c79fed2006-10-06 22:52:33 +000024 JumpTableDataSection = "\t.section .rodata\n";
Andrew Lenharth0fb25902006-12-07 23:55:55 +000025 WeakRefDirective = "\t.weak\t";
Jim Laskey8e8de8f2006-09-07 22:05:02 +000026}