bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18935] Gold assert fail when moving dot in NOLOAD section.


From: johan.karlsson at enea dot com
Subject: [Bug gold/18935] Gold assert fail when moving dot in NOLOAD section.
Date: Thu, 17 Sep 2015 05:58:33 +0000

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

--- Comment #5 from Johan Karlsson <johan.karlsson at enea dot com> ---
(In reply to Cary Coutant from comment #4)
> > This script looks like it's trying to create an unloadable section,
> > then allocate it to a loadable segment. If all the script is trying to
> > do is create a loadable NOBITS section, the NOLOAD attribute shouldn't
> > be necessary (or allowed). The fact that it contains nothing but
> > uninitialized space should be sufficient. I don't think gold does the
> > right thing in that case, but that ought to be the bug, not that
> > NOLOAD should make it work.
> 
> That GOLD makes BSS sections take up space in the output file is PR 16711.

Ok, I have a patch that fixes noload sections so that they work as gnu ld does.
With that change I also fix this PR. I also fixed PR 16711, I will try and
seperate them and post the bss fix in PR 16711.

-- 
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]