diff options
Diffstat (limited to 'lib/Target/Alpha')
-rw-r--r-- | lib/Target/Alpha/AlphaTargetAsmInfo.cpp | 31 | ||||
-rw-r--r-- | lib/Target/Alpha/AlphaTargetAsmInfo.h | 32 |
2 files changed, 0 insertions, 63 deletions
diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp deleted file mode 100644 index 6092ab6..0000000 --- a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp +++ /dev/null @@ -1,31 +0,0 @@ -//===-- AlphaTargetAsmInfo.cpp - Alpha asm properties -----------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file contains the declarations of the AlphaTargetAsmInfo properties. -// -//===----------------------------------------------------------------------===// - -#include "AlphaTargetMachine.h" -#include "AlphaTargetAsmInfo.h" - -using namespace llvm; - -AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) - : TargetAsmInfo(TM) { - AlignmentIsInBytes = false; - PrivateGlobalPrefix = "$"; - JumpTableDirective = ".gprel32"; - JumpTableDataSection = "\t.section .rodata\n"; - WeakRefDirective = "\t.weak\t"; -} - -unsigned AlphaTargetAsmInfo::RelocBehaviour() const { - return (TM.getRelocationModel() != Reloc::Static ? - Reloc::LocalOrGlobal : Reloc::Global); -} diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.h b/lib/Target/Alpha/AlphaTargetAsmInfo.h deleted file mode 100644 index 7675b26..0000000 --- a/lib/Target/Alpha/AlphaTargetAsmInfo.h +++ /dev/null @@ -1,32 +0,0 @@ -//=====-- AlphaTargetAsmInfo.h - Alpha asm properties ---------*- C++ -*--====// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file contains the declaration of the AlphaTargetAsmInfo class. -// -//===----------------------------------------------------------------------===// - -#ifndef ALPHATARGETASMINFO_H -#define ALPHATARGETASMINFO_H - -#include "llvm/Target/TargetAsmInfo.h" - -namespace llvm { - - // Forward declaration. - class AlphaTargetMachine; - - struct AlphaTargetAsmInfo : public TargetAsmInfo { - explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM); - - virtual unsigned RelocBehaviour() const; - }; - -} // namespace llvm - -#endif |