forked from OSchip/llvm-project
[Object] Use BFD name for little-endian PowerPC64
Summary: Little-endian PowerPC object files should report "elf64-powerpcle" instead of "elf64-powerpc". Reviewers: jhenderson, MaskRay, espindola, alexshap, rupprecht, #powerpc Reviewed By: MaskRay Subscribers: wuzish, emaste, nemanjai, shchenz, steven.zhang, llvm-commits Tags: #llvm, #powerpc Differential Revision: https://reviews.llvm.org/D78344
This commit is contained in:
parent
80cd36ed63
commit
edcfc391e1
|
@ -1121,7 +1121,7 @@ StringRef ELFObjectFile<ELFT>::getFileFormatName() const {
|
|||
case ELF::EM_AARCH64:
|
||||
return (IsLittleEndian ? "elf64-littleaarch64" : "elf64-bigaarch64");
|
||||
case ELF::EM_PPC64:
|
||||
return "elf64-powerpc";
|
||||
return (IsLittleEndian ? "elf64-powerpcle" : "elf64-powerpc");
|
||||
case ELF::EM_RISCV:
|
||||
return "elf64-littleriscv";
|
||||
case ELF::EM_S390:
|
||||
|
|
|
@ -147,7 +147,7 @@ Symbols:
|
|||
# MIPS-SAME: mips
|
||||
# PPC-SAME: powerpc{{$}}
|
||||
# PPC64BE-SAME: powerpc{{$}}
|
||||
# PPC64LE-SAME: powerpc{{$}}
|
||||
# PPC64LE-SAME: powerpcle{{$}}
|
||||
# RISCV32-SAME: riscv{{$}}
|
||||
# RISCV64-SAME: riscv{{$}}
|
||||
# SPARC-SAME: sparc
|
||||
|
|
Loading…
Reference in New Issue