This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/11133: Static linking with gc-sections deletes sections with __start/__stop reference
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 5 Jan 2010 12:44:54 -0500
- Subject: Re: PATCH: PR ld/11133: Static linking with gc-sections deletes sections with __start/__stop reference
- References: <20100105173221.GA4820@lucon.org>
On Tue, Jan 05, 2010 at 09:32:21AM -0800, H.J. Lu wrote:
> Hi,
>
>
> __start_XXX and __stop_XXX symbols may reference the start address and
> end address of the orphaned section. We need to search all input files
> for section XXX. OK to install?
I don't think this patch does what you want it to. It's just going to
keep the first entry.
Can you start by saying what effect you think the __start and __stob
symbols should have?
--
Daniel Jacobowitz
CodeSourcery