1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-objcopy
Jordan Rupprecht 5a36888d0c [llvm-objcopy] Add -F|--target compatibility
Summary:
This change adds support for the GNU --target flag, which sets both --input-target and --output-target.

GNU objcopy doesn't do any checking for whether both --target and --{input,output}-target are used, and so it allows both, e.g. "--target A --output-target B" is equivalent to "--input-target A --output-target B" since the later command line flag would override earlier ones. This may be error prone, so I chose to implement it as an error if both are used. I'm not sure if anyone is actually using both.

Reviewers: jakehehrlich, jhenderson, alexshap

Reviewed By: jakehehrlich, alexshap

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D53029

llvm-svn: 344321
2018-10-12 00:36:01 +00:00
..
CMakeLists.txt [llvm-objcopy] Factor out CopyConfig 2018-10-11 22:33:50 +00:00
CopyConfig.cpp [llvm-objcopy] Add -F|--target compatibility 2018-10-12 00:36:01 +00:00
CopyConfig.h [llvm-objcopy] Factor out CopyConfig 2018-10-11 22:33:50 +00:00
llvm-objcopy.cpp [llvm-objcopy] Factor out CopyConfig 2018-10-11 22:33:50 +00:00
llvm-objcopy.h [NFC][llvm-objcopy] Cleanup namespace usage in llvm-objcopy. 2018-07-18 00:10:51 +00:00
LLVMBuild.txt Recommit "[llvm-objcopy] Switch over to using TableGen for parsing arguments" 2018-04-24 05:43:32 +00:00
ObjcopyOpts.td [llvm-objcopy] Add -F|--target compatibility 2018-10-12 00:36:01 +00:00
Object.cpp [llvm-objcopy] Adding support for decompressing zlib compressed dwarf sections. 2018-10-01 10:29:41 +00:00
Object.h [llvm-objcopy] Factor out CopyConfig 2018-10-11 22:33:50 +00:00
StripOpts.td [llvm-objcopy/llvm-strip]: handle --version 2018-09-21 00:47:31 +00:00