[PATCH] D67144: [llvm-objcopy] Default --output-target to --input-target when unspecified

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 09:20:37 PDT 2019


MaskRay added inline comments.


================
Comment at: test/tools/llvm-objcopy/ELF/binary-output-target.test:18-19
 
-# RUN: llvm-objcopy -I binary -B powerpc:common64 %t.txt %t.powerpc_common64.o
-# RUN: llvm-readobj --file-headers %t.powerpc_common64.o | FileCheck %s --check-prefixes=CHECK,LE,PPC,64
+# RUN: llvm-objcopy -I binary -O elf32-powerpc %t.txt %t.ppc.o
+# RUN: llvm-readobj --file-headers %t.ppc.o | FileCheck %s --check-prefixes=CHECK,BE,PPC,32
 
----------------
jhenderson wrote:
> Was this case just missing before? Maybe worth making this change independently.
It was missed before. Will add it separately.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67144/new/

https://reviews.llvm.org/D67144





More information about the llvm-commits mailing list