bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/11675] -- oformat binary or srec broken


From: nickc at redhat dot com
Subject: [Bug ld/11675] -- oformat binary or srec broken
Date: 21 Jun 2010 10:10:52 -0000

------- 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]