mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 13:41:47 +00:00
alpha doesn't need to redefine this: it only supports PIC codegen anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80607c9b2b
commit
9d8052f08f
@ -24,8 +24,3 @@ AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM)
|
||||
JumpTableDataSection = "\t.section .rodata\n";
|
||||
WeakRefDirective = "\t.weak\t";
|
||||
}
|
||||
|
||||
unsigned AlphaTargetAsmInfo::RelocBehaviour() const {
|
||||
return (TM.getRelocationModel() != Reloc::Static ?
|
||||
Reloc::LocalOrGlobal : Reloc::Global);
|
||||
}
|
||||
|
@ -23,8 +23,6 @@ namespace llvm {
|
||||
|
||||
struct AlphaTargetAsmInfo : public TargetAsmInfo {
|
||||
explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM);
|
||||
|
||||
virtual unsigned RelocBehaviour() const;
|
||||
};
|
||||
|
||||
} // namespace llvm
|
||||
|
Loading…
Reference in New Issue
Block a user