Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [llvm-objcopy] Default --output-target to --input-target when unspecified | Fangrui Song | 2019-09-14 | 1 | -6/+14 |
| | | | | | | | | | | | | | | | | | | | | | Fixes PR42171. In GNU objcopy, if -O (--output-target) is not specified, the value is copied from -I (--input-target). ``` objcopy -I binary -B i386:x86-64 a.txt b # b is copied from a.txt llvm-objcopy -I binary -B i386:x86-64 a.txt b # b is an x86-64 object file ``` This patch changes our behavior to match GNU. With this change, we can delete code related to -B handling (D67215). Reviewed By: jakehehrlich Differential Revision: https://reviews.llvm.org/D67144 llvm-svn: 371913 | ||||
* | [llvm-objcopy] Move elf-specific tests into subfolder | Alexander Shaposhnikov | 2018-11-30 | 1 | -0/+15 |
In this diff the elf-specific tests are moved into the subfolder llvm-objcopy/ELF (the change was discussed in the comments on https://reviews.llvm.org/D54674). A separate code reivew wasn't sent for this change since Phabricator is failing to create such a large diff. Test plan: make check-all make check-llvm-tools make check-llvm-tools-llvm-objcopy llvm-svn: 347958 |