this doesn't break any of the 4 ia64 tests.
authorChris Lattner <sabre@nondot.org>
Tue, 21 Jul 2009 23:42:24 +0000 (23:42 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 21 Jul 2009 23:42:24 +0000 (23:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76683 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/IA64/IA64TargetAsmInfo.cpp
lib/Target/IA64/IA64TargetAsmInfo.h

index 2ae8beb9148ed4b33e3f70f939eb640ef5629bad..a6f4c595006c6b1bcc4cb5a9a38f646fc62fa2b9 100644 (file)
@@ -36,9 +36,4 @@ IA64TargetAsmInfo::IA64TargetAsmInfo(const TargetMachine &TM):
   ConstantPoolSection = "\n\t.section .data, \"aw\", \"progbits\"\n";
 }
 
-unsigned IA64TargetAsmInfo::RelocBehaviour() const {
-  return (TM.getRelocationModel() != Reloc::Static ?
-          Reloc::LocalOrGlobal : Reloc::Global);
-}
-
 // FIXME: Support small data/bss/rodata sections someday.
index 130822e887f4daecdaaef54b0c581ab3730728bb..6c87777f63f8f804cdb9f93eeb7158cdb81eb43e 100644 (file)
@@ -24,7 +24,6 @@ namespace llvm {
 
   struct IA64TargetAsmInfo : public ELFTargetAsmInfo {
     explicit IA64TargetAsmInfo(const TargetMachine &TM);
-    virtual unsigned RelocBehaviour() const;
   };