mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Revert "Report endianness in output of {dwarf, obj}dump"
This reverts commit r218391 as it depends on r218388 and r218389 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -855,7 +855,6 @@ uint8_t ELFObjectFile<ELFT>::getBytesInAddress() const {
|
||||
|
||||
template <class ELFT>
|
||||
StringRef ELFObjectFile<ELFT>::getFileFormatName() const {
|
||||
bool IsLittleEndian = ELFT::TargetEndianness == support::little;
|
||||
switch (EF.getHeader()->e_ident[ELF::EI_CLASS]) {
|
||||
case ELF::ELFCLASS32:
|
||||
switch (EF.getHeader()->e_machine) {
|
||||
@ -864,7 +863,7 @@ StringRef ELFObjectFile<ELFT>::getFileFormatName() const {
|
||||
case ELF::EM_X86_64:
|
||||
return "ELF32-x86-64";
|
||||
case ELF::EM_ARM:
|
||||
return (IsLittleEndian ? "ELF32-arm-little" : "ELF32-arm-big");
|
||||
return "ELF32-arm";
|
||||
case ELF::EM_HEXAGON:
|
||||
return "ELF32-hexagon";
|
||||
case ELF::EM_MIPS:
|
||||
@ -884,7 +883,7 @@ StringRef ELFObjectFile<ELFT>::getFileFormatName() const {
|
||||
case ELF::EM_X86_64:
|
||||
return "ELF64-x86-64";
|
||||
case ELF::EM_AARCH64:
|
||||
return (IsLittleEndian ? "ELF64-aarch64-little" : "ELF64-aarch64-big");
|
||||
return "ELF64-aarch64";
|
||||
case ELF::EM_PPC64:
|
||||
return "ELF64-ppc64";
|
||||
case ELF::EM_S390:
|
||||
|
Reference in New Issue
Block a user