[ELF] Remove is64bits() and isLittlEndian().
authorShankar Easwaran <shankare@codeaurora.org>
Fri, 7 Nov 2014 14:08:43 +0000 (14:08 +0000)
committerShankar Easwaran <shankare@codeaurora.org>
Fri, 7 Nov 2014 14:08:43 +0000 (14:08 +0000)
commit35cab83409360d2402fde39a455a2a3f7602f2f1
treeb154bacd7a2acc2d01607bca23e733723bfd5cdb
parent892cf8af46389aba099820d54de2f084cf144ec1
[ELF] Remove is64bits() and isLittlEndian().

ELFLinkingContext had these two functions, which is really not needed since
the Writer uses a llvm::object template composed of Endianness, Alignment,
Is32bit/64bit. We could just use that and not duplicate functionality.

No Change In Functionality.

llvm-svn: 221523
12 files changed:
lld/include/lld/ReaderWriter/ELFLinkingContext.h
lld/lib/ReaderWriter/ELF/AArch64/AArch64LinkingContext.h
lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
lld/lib/ReaderWriter/ELF/HeaderChunks.h
lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.h
lld/lib/ReaderWriter/ELF/Mips/MipsLinkingContext.cpp
lld/lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h
lld/lib/ReaderWriter/ELF/OutputELFWriter.h
lld/lib/ReaderWriter/ELF/PPC/PPCLinkingContext.h
lld/lib/ReaderWriter/ELF/SectionChunks.h
lld/lib/ReaderWriter/ELF/X86/X86LinkingContext.h
lld/lib/ReaderWriter/ELF/X86_64/X86_64LinkingContext.h