[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/16804] gold rejects kernel linker script
From: |
ccoutant at google dot com |
Subject: |
[Bug gold/16804] gold rejects kernel linker script |
Date: |
Thu, 03 Apr 2014 17:42:55 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16804
--- Comment #6 from Cary Coutant <ccoutant at google dot com> ---
> 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.
-cary
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/16804] New: gold rejects kernel linker script, markus at trippelsdorf dot de, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, markus at trippelsdorf dot de, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, nheghathivhistha at gmail dot com, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, ccoutant at google dot com, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, markus at trippelsdorf dot de, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, ccoutant at google dot com, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, luto at mit dot edu, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, luto at mit dot edu, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script,
ccoutant at google dot com <=
- [Bug gold/16804] gold rejects kernel linker script, luto at mit dot edu, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, ccoutant at google dot com, 2014/04/03
- [Bug gold/16804] gold rejects kernel linker script, cvs-commit at gcc dot gnu.org, 2014/04/04