Skip to content
  • Alan Modra's avatar
    PR24968, make objcopy use output ELF arch if -B not given · 6765ee18
    Alan Modra authored
    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.
    6765ee18