bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/16804] gold rejects kernel linker script


From: luto at mit dot edu
Subject: [Bug gold/16804] gold rejects kernel linker script
Date: Thu, 03 Apr 2014 17:43:57 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]