elf bfd_set_arch_mach does not save m68k machine

Mike Frysinger vapier@gentoo.org
Thu Sep 10 00:26:00 GMT 2009


On Wednesday 09 September 2009 19:57:46 Philippe De Muyter wrote:
> 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 ?

perhaps you're seeing this ?
http://sourceware.org/ml/binutils/2009-06/msg00401.html

it really should be fixed at the common level rather than updating every port 
to screw with the defaults.  i havent had time to look into fixing it properly 
though :/.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20090910/99ac873c/attachment.sig>


More information about the Binutils mailing list