This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC: Remove empty output sections
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Nick Clifton <nickc at redhat dot com>, binutils at sources dot redhat dot com
- Date: Mon, 14 Mar 2005 19:05:15 +1030
- Subject: Re: RFC: Remove empty output sections
- References: <20050224203631.GA19728@lucon.org> <20050224234206.GA22853@lucon.org> <422458B8.3070704@redhat.com> <20050314063141.GB21065@lucon.org>
On Sun, Mar 13, 2005 at 10:31:41PM -0800, H. J. Lu wrote:
> @@ -4883,7 +4893,7 @@ lang_process (void)
> lang_check_section_addresses ();
>
> /* Final stuffs. */
> -
> + lang_mark_used_section ();
> ldemul_finish ();
> lang_finish ();
> }
Isn't this too late to strip sections? What happens if one of the
sections stripped has a dynamic section symbol?
--
Alan Modra
IBM OzLabs - Linux Technology Centre