This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PR25570, ld duplicate "warning: changing start of section"
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 4 Mar 2020 16:42:54 +1030
- Subject: Re: PR25570, ld duplicate "warning: changing start of section"
- References: <20200304055731.GU5384@bubble.grove.modra.org>
On Wed, Mar 04, 2020 at 04:27:31PM +1030, Alan Modra wrote:
> PR 25570
> * ldlang.c (lang_size_sections_1): Delay emitting non-fatal
> errors/warnings until final pass.
> * ldexp.c (fold_name): Likewise.
Oops, no. lang_size_sections isn't called on the final pass so this
patch would never emit the warnings. Reverted.
--
Alan Modra
Australia Development Lab, IBM