this doesn't break any of the 4 ia64 tests.

llvm-svn: 76683
This commit is contained in:
Chris Lattner 2009-07-21 23:42:24 +00:00
parent e41745f837
commit bc2482a0a4
2 changed files with 0 additions and 6 deletions

View File

@ -36,9 +36,4 @@ IA64TargetAsmInfo::IA64TargetAsmInfo(const TargetMachine &TM):
ConstantPoolSection = "\n\t.section .data, \"aw\", \"progbits\"\n"; 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. // FIXME: Support small data/bss/rodata sections someday.

View File

@ -24,7 +24,6 @@ namespace llvm {
struct IA64TargetAsmInfo : public ELFTargetAsmInfo { struct IA64TargetAsmInfo : public ELFTargetAsmInfo {
explicit IA64TargetAsmInfo(const TargetMachine &TM); explicit IA64TargetAsmInfo(const TargetMachine &TM);
virtual unsigned RelocBehaviour() const;
}; };