This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: elf bfd_set_arch_mach does not save m68k machine


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]