------- Additional Comments From nickc at redhat dot com 2010-06-21 10:10
-------
Hi Vincent,
Duh - I wonder why that did not work for me when I tried.
Anyway I can now reproduce the problem. It is possible to fix the code in
bfd_elf_m68k_set_target_options to avoid the seg-fault, but I think that this is
the wrong approach. Essentially the m68k-elf code in the BFD library needs some
special fields in the global info structure and these are only created if the
output format is m68k-elf. So it is not possible to link m68k-elf binaries and
change the output format at the same time. (This restriction is common to quite
a few linker targets). So instead I am proposing the uploaded patch to issue an
error if an attempt is made to link m68k-elf binaries and change the output
format at the same time. What do you think ?
Cheers
Nick
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=11675
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils