forked from OSchip/llvm-project
Remove remaining code for PPC ELF target.
llvm-svn: 227534
This commit is contained in:
parent
8fba18e958
commit
39b9524f82
|
@ -678,11 +678,6 @@ public:
|
|||
this->addReferenceELF(Reference::KindArch::x86_64, relocType, off, t, a);
|
||||
}
|
||||
|
||||
void addReferenceELF_PowerPC(Reference::KindValue relocType, uint64_t off,
|
||||
const Atom *t, Reference::Addend a) {
|
||||
this->addReferenceELF(Reference::KindArch::PowerPC, relocType, off, t, a);
|
||||
}
|
||||
|
||||
void addReferenceELF_Mips(Reference::KindValue relocType, uint64_t off,
|
||||
const Atom *t, Reference::Addend a) {
|
||||
this->addReferenceELF(Reference::KindArch::Mips, relocType, off, t, a);
|
||||
|
|
|
@ -453,8 +453,6 @@ template <class ELFT> Reference::KindArch ELFFile<ELFT>::kindArch() {
|
|||
return Reference::KindArch::x86;
|
||||
case llvm::ELF::EM_ARM:
|
||||
return Reference::KindArch::ARM;
|
||||
case llvm::ELF::EM_PPC:
|
||||
return Reference::KindArch::PowerPC;
|
||||
case llvm::ELF::EM_HEXAGON:
|
||||
return Reference::KindArch::Hexagon;
|
||||
case llvm::ELF::EM_MIPS:
|
||||
|
|
|
@ -81,8 +81,6 @@ uint16_t ELFLinkingContext::getOutputMachine() const {
|
|||
case llvm::Triple::mipsel:
|
||||
case llvm::Triple::mips64el:
|
||||
return llvm::ELF::EM_MIPS;
|
||||
case llvm::Triple::ppc:
|
||||
return llvm::ELF::EM_PPC;
|
||||
case llvm::Triple::aarch64:
|
||||
return llvm::ELF::EM_AARCH64;
|
||||
case llvm::Triple::arm:
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace elf {
|
|||
|
||||
/// \brief The ELFLayout is an abstract class for managing the final layout for
|
||||
/// the kind of binaries(Shared Libraries / Relocatables / Executables 0
|
||||
/// Each architecture (Hexagon, PowerPC, MIPS) would have a concrete
|
||||
/// Each architecture (Hexagon, MIPS) would have a concrete
|
||||
/// subclass derived from Layout for generating each binary thats
|
||||
// needed by the lld linker
|
||||
class Layout {
|
||||
|
|
Loading…
Reference in New Issue