This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PR 11304, --section-start and orphans
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 24 Feb 2010 00:46:36 +1030
- Subject: Re: PR 11304, --section-start and orphans
- References: <20100222120804.GD2745@bubble.grove.modra.org>
On Mon, Feb 22, 2010 at 10:38:04PM +1030, Alan Modra wrote:
> PR ld/11304
> * ldlang.c (exp_init_os): Delete forward declaration.
> (init_os): Don't check for bfd_section already created and don't
> init addr_tree and load_base expressions here.
> (map_input_to_output_sections): Only map input to output sections
> and set constraints here, and as an exception, create output
> sections which have their address set. Move all the other code to..
> (create_other_output_sections): ..here. New function. Handle init
> of addr_tree and load_base here too.
> (lang_process): Call create_other_output_sections.
I'm reverting this patch due to the testsuite failures it causes. I
was hoping to have them all fixed today, but that isn't going to
happen, and I'm finding the patch needs some major tweaking..
--
Alan Modra
Australia Development Lab, IBM