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.

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

Reply via email to