This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
elf bfd_set_arch_mach does not save m68k machine
- From: Philippe De Muyter <phdm at macqel dot be>
- To: binutils at sourceware dot org
- Date: Thu, 10 Sep 2009 01:57:46 +0200
- Subject: elf bfd_set_arch_mach does not save m68k machine
Hi,
when trying to force the architecture of a elf binary file, e.g.
objcopy -I binary -O elf-m68k -B m68k:cf4ve ...
resulting elf file contains architecure m68k, but machine is 0.
should we fix that in bfd_set_arch_mach, or define a elf-m68k specific
elf_backend_final_write_processing ?
Philippe