This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ld/main.c: Return after einfo() in warning_find_reloc().
- From: Alan Modra <amodra at gmail dot com>
- To: Chen Gang <xili_gchen_5257 at hotmail dot com>
- Cc: binutils at sourceware dot org, Chen Gang <gang dot chen dot 5i5j at gmail dot com>
- Date: Mon, 16 Mar 2015 19:40:30 +1030
- Subject: Re: [PATCH] ld/main.c: Return after einfo() in warning_find_reloc().
- Authentication-results: sourceware.org; auth=none
- References: <BLU436-SMTP1178004AB20FF6282FE33CEB9020 at phx dot gbl>
On Mon, Mar 16, 2015 at 02:03:27PM +0800, Chen Gang wrote:
> einfo() is only for printing information, so if 'relsize' and 'relcount'
> fail, they needs to return explicitly after einfo().
This isn't necessary. "%F" in the format string means einfo won't
return.
--
Alan Modra
Australia Development Lab, IBM