[lld] r227534 - Remove remaining code for PPC ELF target.
Rui Ueyama
ruiu at google.com
Thu Jan 29 17:18:43 PST 2015
Author: ruiu
Date: Thu Jan 29 19:18:43 2015
New Revision: 227534
URL: http://llvm.org/viewvc/llvm-project?rev=227534&view=rev
Log:
Remove remaining code for PPC ELF target.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Atoms.h
lld/trunk/lib/ReaderWriter/ELF/ELFFile.h
lld/trunk/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
lld/trunk/lib/ReaderWriter/ELF/Layout.h
Modified: lld/trunk/lib/ReaderWriter/ELF/Atoms.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Atoms.h?rev=227534&r1=227533&r2=227534&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Atoms.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Atoms.h Thu Jan 29 19:18:43 2015
@@ -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);
Modified: lld/trunk/lib/ReaderWriter/ELF/ELFFile.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ELFFile.h?rev=227534&r1=227533&r2=227534&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ELFFile.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ELFFile.h Thu Jan 29 19:18:43 2015
@@ -453,8 +453,6 @@ template <class ELFT> Reference::KindArc
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:
Modified: lld/trunk/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ELFLinkingContext.cpp?rev=227534&r1=227533&r2=227534&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ELFLinkingContext.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ELFLinkingContext.cpp Thu Jan 29 19:18:43 2015
@@ -81,8 +81,6 @@ uint16_t ELFLinkingContext::getOutputMac
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:
Modified: lld/trunk/lib/ReaderWriter/ELF/Layout.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Layout.h?rev=227534&r1=227533&r2=227534&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Layout.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Layout.h Thu Jan 29 19:18:43 2015
@@ -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 {
More information about the llvm-commits
mailing list