diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-21 23:41:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-21 23:41:35 +0000 |
commit | 9d8052f08f64e5158705f1f4d1c81b7fc2553754 (patch) | |
tree | 3a2f06328ca8a661bc2e1716b2b27e71e21357b1 | |
parent | 80607c9b2bdb09993ac48e40c48852e124eb2c0b (diff) |
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
-rw-r--r-- | lib/Target/Alpha/AlphaTargetAsmInfo.cpp | 5 | ||||
-rw-r--r-- | lib/Target/Alpha/AlphaTargetAsmInfo.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp index 6092ab67b5..6499552242 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 7675b26f6e..0b50de858f 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 |