[PATCH] D78344: [Object] Use BFD name for little-endian PowerPC64
Bill Wendling via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 19 20:17:16 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGedcfc391e142: [Object] Use BFD name for little-endian PowerPC64 (authored by void).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78344/new/
https://reviews.llvm.org/D78344
Files:
llvm/include/llvm/Object/ELFObjectFile.h
llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
Index: llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
===================================================================
--- llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
+++ llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
@@ -147,7 +147,7 @@
# MIPS-SAME: mips
# PPC-SAME: powerpc{{$}}
# PPC64BE-SAME: powerpc{{$}}
-# PPC64LE-SAME: powerpc{{$}}
+# PPC64LE-SAME: powerpcle{{$}}
# RISCV32-SAME: riscv{{$}}
# RISCV64-SAME: riscv{{$}}
# SPARC-SAME: sparc
Index: llvm/include/llvm/Object/ELFObjectFile.h
===================================================================
--- llvm/include/llvm/Object/ELFObjectFile.h
+++ llvm/include/llvm/Object/ELFObjectFile.h
@@ -1121,7 +1121,7 @@
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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78344.258646.patch
Type: text/x-patch
Size: 1039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200420/64d45054/attachment.bin>
More information about the llvm-commits
mailing list