Remove remaining code for PPC ELF target.

llvm-svn: 227534
This commit is contained in:
Rui Ueyama 2015-01-30 01:18:43 +00:00
parent 8fba18e958
commit 39b9524f82
4 changed files with 1 additions and 10 deletions

View File

@ -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);

View File

@ -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:

View File

@ -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:

View File

@ -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 {