From 9d8052f08f64e5158705f1f4d1c81b7fc2553754 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 21 Jul 2009 23:41:35 +0000 Subject: [PATCH] alpha doesn't need to redefine this: it only supports PIC codegen anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76682 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Alpha/AlphaTargetAsmInfo.cpp | 5 ----- lib/Target/Alpha/AlphaTargetAsmInfo.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp index 6092ab67b5f..64995522422 100644 --- a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp +++ b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp @@ -24,8 +24,3 @@ AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) 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 index 7675b26f6e8..0b50de858fc 100644 --- a/lib/Target/Alpha/AlphaTargetAsmInfo.h +++ b/lib/Target/Alpha/AlphaTargetAsmInfo.h @@ -23,8 +23,6 @@ namespace llvm { struct AlphaTargetAsmInfo : public TargetAsmInfo { explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM); - - virtual unsigned RelocBehaviour() const; }; } // namespace llvm