summaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-21 23:42:24 +0000
committerChris Lattner <sabre@nondot.org>2009-07-21 23:42:24 +0000
commit1a1b323504f816b8f52a03886eaa65aa5787721e (patch)
treecff6a5a5ff620f03b92aa110ae98842f51073273 /lib/Target
parent9d8052f08f64e5158705f1f4d1c81b7fc2553754 (diff)
downloadexternal_llvm-1a1b323504f816b8f52a03886eaa65aa5787721e.zip
external_llvm-1a1b323504f816b8f52a03886eaa65aa5787721e.tar.gz
external_llvm-1a1b323504f816b8f52a03886eaa65aa5787721e.tar.bz2
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
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/IA64/IA64TargetAsmInfo.cpp5
-rw-r--r--lib/Target/IA64/IA64TargetAsmInfo.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/IA64/IA64TargetAsmInfo.cpp b/lib/Target/IA64/IA64TargetAsmInfo.cpp
index 2ae8beb..a6f4c59 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 130822e..6c87777 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;
};