From: Chris Lattner Date: Tue, 21 Jul 2009 23:42:24 +0000 (+0000) Subject: this doesn't break any of the 4 ia64 tests. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1a1b323504f816b8f52a03886eaa65aa5787721e;p=oota-llvm.git this doesn't break any of the 4 ia64 tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76683 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/IA64/IA64TargetAsmInfo.cpp b/lib/Target/IA64/IA64TargetAsmInfo.cpp index 2ae8beb9148..a6f4c595006 100644 --- a/lib/Target/IA64/IA64TargetAsmInfo.cpp +++ b/lib/Target/IA64/IA64TargetAsmInfo.cpp @@ -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. diff --git a/lib/Target/IA64/IA64TargetAsmInfo.h b/lib/Target/IA64/IA64TargetAsmInfo.h index 130822e887f..6c87777f63f 100644 --- a/lib/Target/IA64/IA64TargetAsmInfo.h +++ b/lib/Target/IA64/IA64TargetAsmInfo.h @@ -24,7 +24,6 @@ namespace llvm { struct IA64TargetAsmInfo : public ELFTargetAsmInfo { explicit IA64TargetAsmInfo(const TargetMachine &TM); - virtual unsigned RelocBehaviour() const; };