i386-pe partial links

Ian Lance Taylor ian@zembu.com
Fri Nov 3 15:45:00 GMT 2000


   Date: Fri, 03 Nov 2000 22:57:36 +0000
   From: Philip Blundell <philb@gnu.org>

   What seems to happen is that _bfd_coff_final_link writes out the symbol table 
   correctly, but then later coff_write_object_contents is called, which thinks 
   that the string table still needs to be written out and calls 
   coff_write_symbols to deal with it.  But abfd->outsymbols doesn't mention any 
   symbols, so the section name strings are dumped out over the top of the start 
   of the symbol table.

   Any suggestions on what to do about this?

_bfd_coff_final_link should also write out the string table (it's the
last thing it does).  Why does coff_write_object_contents think that
it still needs to be written out?

Ian


More information about the Binutils mailing list