diff options
author | Alan Modra <amodra@gmail.com> | 2019-11-19 19:15:20 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-11-19 19:26:40 +1030 |
commit | 6765ee1825d92d25d9b3f6260de3f8a2a27e4998 (patch) | |
tree | 65c95e752439552d1b55a35312eb1724148ae505 /config-ml.in | |
parent | dd68a12bc4b19c50c31fe357335bb8ee9a3322fc (diff) | |
download | gdb-6765ee1825d92d25d9b3f6260de3f8a2a27e4998.zip gdb-6765ee1825d92d25d9b3f6260de3f8a2a27e4998.tar.gz gdb-6765ee1825d92d25d9b3f6260de3f8a2a27e4998.tar.bz2 |
PR24968, make objcopy use output ELF arch if -B not given
This should make objcopy -B redundant for the common case of producing
ELF output where the -O target defaults to the desired arch:mach.
PR 24968
* objcopy.c (copy_object): For ELF output and non-ELF input without
arch, take arch from output file if not given by -B. Don't
bfd_get_arch_info when we already have iarch.
Diffstat (limited to 'config-ml.in')
0 files changed, 0 insertions, 0 deletions