forked from OSchip/llvm-project
this doesn't break any of the 4 ia64 tests.
llvm-svn: 76683
This commit is contained in:
parent
e41745f837
commit
bc2482a0a4
|
@ -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.
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue