This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: intermittent 0-length for .note.gnu.arm.ident


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]