alpha doesn't need to redefine this: it only supports PIC codegen anyway.
authorChris Lattner <sabre@nondot.org>
Tue, 21 Jul 2009 23:41:35 +0000 (23:41 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 21 Jul 2009 23:41:35 +0000 (23:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76682 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaTargetAsmInfo.cpp
lib/Target/Alpha/AlphaTargetAsmInfo.h

index 6092ab67b5fc959ae5042e3c3e8efb2280f4f388..649955224223b65b9ad47c50e12e3b4adf86ad0a 100644 (file)
@@ -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);
-}
index 7675b26f6e81572c8c0be5456a954de41726f6a8..0b50de858fc117d245b272dd9393c088a873de7a 100644 (file)
@@ -23,8 +23,6 @@ namespace llvm {
 
   struct AlphaTargetAsmInfo : public TargetAsmInfo {
     explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
-
-    virtual unsigned RelocBehaviour() const;
   };
 
 } // namespace llvm