https://sourceware.org/bugzilla/show_bug.cgi?id=24968
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6765ee1825d92d25d9b3f6260de3f8a2a27e4998 commit 6765ee1825d92d25d9b3f6260de3f8a2a27e4998 Author: Alan Modra <amo...@gmail.com> Date: Tue Nov 19 19:15:20 2019 +1030 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. -- You are receiving this mail because: You are on the CC list for the bug.