[llvm-commits] [llvm] r76682 - in /llvm/trunk/lib/Target/Alpha: AlphaTargetAsmInfo.cpp AlphaTargetAsmInfo.h

Chris Lattner sabre at nondot.org
Tue Jul 21 16:41:36 PDT 2009


Author: lattner
Date: Tue Jul 21 18:41:35 2009
New Revision: 76682

URL: http://llvm.org/viewvc/llvm-project?rev=76682&view=rev
Log:
alpha doesn't need to redefine this: it only supports PIC codegen anyway.

Modified:
    llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
    llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h

Modified: llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp?rev=76682&r1=76681&r2=76682&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.cpp Tue Jul 21 18:41:35 2009
@@ -24,8 +24,3 @@
   JumpTableDataSection = "\t.section .rodata\n";
   WeakRefDirective = "\t.weak\t";
 }
-
-unsigned AlphaTargetAsmInfo::RelocBehaviour() const {
-  return (TM.getRelocationModel() != Reloc::Static ?
-          Reloc::LocalOrGlobal : Reloc::Global);
-}

Modified: llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h?rev=76682&r1=76681&r2=76682&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaTargetAsmInfo.h Tue Jul 21 18:41:35 2009
@@ -23,8 +23,6 @@
 
   struct AlphaTargetAsmInfo : public TargetAsmInfo {
     explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
-
-    virtual unsigned RelocBehaviour() const;
   };
 
 } // namespace llvm





More information about the llvm-commits mailing list