This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: intermittent 0-length for .note.gnu.arm.ident
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: James Lemke <jwlemke at wasabisystems dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 1 May 2006 15:05:07 +0930
- Subject: Re: intermittent 0-length for .note.gnu.arm.ident
- References: <1145470462.6397.89.camel@winch.thelemkes.ca> <1146232366.28049.100.camel@winch.thelemkes.ca>
On Fri, Apr 28, 2006 at 09:52:46AM -0400, James Lemke wrote:
> --- subsegs.c-orig 2006-04-27 13:44:49.893500000 +0000
> +++ subsegs.c 2006-04-27 13:47:51.909125000 +0000
> @@ -297,7 +297,7 @@ subseg_set_rest (segT seg, subsegT subse
> {
> segment_info_type *seginfo;
> seginfo = seg_info (seg);
> - if (seginfo && seginfo->frchainP == frcP)
> + if (seginfo && (!seginfo->frchainP || seginfo->frchainP ==
> frcP))
> seginfo->frchainP = newP;
> }
> #endif
Looks good to me. Applying to mainline and 2.17.
--
Alan Modra
IBM OzLabs - Linux Technology Centre