https://sourceware.org/bugzilla/show_bug.cgi?id=16804

--- Comment #7 from Andy Lutomirski <luto at mit dot edu> ---
(In reply to Cary Coutant from comment #6)
> > This is probably a separate issue, but adding the comma causes:
> >
> > ld.gold: internal error in segment_precedes, at layout.cc:3037
> 
> Yes, that was PR 15355. It's fixed in binutils-2.24.
> 
> It was probably caused by having two segments in the PHDRS clause with
> the same type and flags -- what I've seen before is two PT_NULL
> segments for vvar_sect and hpet_sect:
> 
>  vvar_sect PT_NULL FLAGS(4); /* PF_R */
>  hpet_sect PT_NULL FLAGS(4); /* PF_R */
> 
> Ideally, instead of using PT_NULL for these segments, you could
> allocate two new GNU-specific segment types. I think that would have
> benefits elsewhere, where you can look for these segments by type
> instead of having to infer which segment is which.
> 

In this case I'm planning on just removing the segments entirely.  They don't
seem to serve any real purpose.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to