This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: i386-pe partial links
- To: philb at gnu dot org
- Subject: Re: i386-pe partial links
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 3 Nov 2000 15:45:01 -0800
- CC: binutils at sources dot redhat dot com
- References: <E13rpmD-0001JU-00@kings-cross.london.uk.eu.org>
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