This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold patch: Don't try to merge empty input sections
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Date: Tue, 22 Jul 2008 08:29:52 -0400
- Subject: Re: gold patch: Don't try to merge empty input sections
- References: <m363qy5odr.fsf@google.com>
On Tue, Jul 22, 2008 at 01:12:00AM -0700, Ian Lance Taylor wrote:
> When gold saw an empty merge input section it would add it to the
> merge data for the output section. Unfortunately an empty input
> section would have no maps, and this would cause a crash in
> Output_section::starting_output_address looking for the position of
> the input section in the output section. There is nothing to merge
> for an empty merge input section, so I patched the code to simply
> handle it as an ordinary input section. I committed this patch.
Is their alignment relevant?
--
Daniel Jacobowitz
CodeSourcery