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

2015-09-16 Thread johan.karlsson at enea dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18935 --- Comment #5 from Johan Karlsson --- (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 crea

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

2015-09-15 Thread johan.karlsson at enea dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18935 --- Comment #3 from Johan Karlsson --- (In reply to Cary Coutant from comment #2) > > Seems a bit unclear what the expected behavior is. > > > > .init_stack (NOLOAD) : > > { > >. = . + 0x200; > > } :ph_load > > With this ld.bfd creates

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

2015-09-09 Thread johan.karlsson at enea dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18935 --- Comment #1 from Johan Karlsson --- This is not a regression from PR18847. Seems a bit unclear what the expected behavior is. .init_stack (NOLOAD) : { . = . + 0x200; } :ph_load With this ld.bfd creates a NOBITS SHF_ALLOC section(jus

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

2015-09-08 Thread johan.karlsson at enea dot com
Component: gold Assignee: ccoutant at gmail dot com Reporter: johan.karlsson at enea dot com CC: ian at airs dot com Target Milestone: --- ld.gold: internal error in set_address, at gold/output.h:197 The version I run is Binutils 2.25 with bug fixes for PR18846

[Bug gold/14746] ld: internal error in address, at gold/output.h:72 while building Linux kvm tool

2015-08-20 Thread johan.karlsson at enea dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=14746 Johan Karlsson changed: What|Removed |Added CC||johan.karlsson at enea dot com

[Bug gold/18847] Gold: Address of section moves backward when aligned.

2015-08-19 Thread johan.karlsson at enea dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18847 --- Comment #2 from Johan Karlsson --- Created attachment 8534 --> https://sourceware.org/bugzilla/attachment.cgi?id=8534&action=edit Linker script I was able to reproduce it easily with my toolchain, but when I tried the toolchain on my lo

[Bug gold/18845] Using emit-relocs and icf ends in assert fail.

2015-08-19 Thread johan.karlsson at enea dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18845 --- Comment #2 from Johan Karlsson --- Right now there is a check for the -r/--gc-section/--icf combination in queue_initial_tasks(), however I think I saw a PR about it generating lots of error afterwards. Can't find it though. I don't think

[Bug gold/18847] New: Gold: Address of section moves backward when aligned.

2015-08-18 Thread johan.karlsson at enea dot com
Component: gold Assignee: ccoutant at gmail dot com Reporter: johan.karlsson at enea dot com CC: ian at airs dot com Target Milestone: --- Created attachment 8532 --> https://sourceware.org/bugzilla/attachment.cgi?id=8532&action=edit section_pointer_increas

[Bug gold/18846] gold PowerPC --emit-relocs differ from ld

2015-08-18 Thread johan.karlsson at enea dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18846 Johan Karlsson changed: What|Removed |Added CC||johan.karlsson at enea dot com

[Bug gold/18846] New: gold PowerPC --emit-relocs differ from ld

2015-08-18 Thread johan.karlsson at enea dot com
Assignee: ccoutant at gmail dot com Reporter: johan.karlsson at enea dot com CC: ian at airs dot com Target Milestone: --- Created attachment 8530 --> https://sourceware.org/bugzilla/attachment.cgi?id=8530&action=edit gold_ppc_rela_addend.patch Whe

[Bug gold/18845] Using emit-relocs and icf ends in assert fail.

2015-08-18 Thread johan.karlsson at enea dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18845 Johan Karlsson changed: What|Removed |Added CC||johan.karlsson at enea dot com

[Bug gold/18845] New: Using emit-relocs and icf ends in assert fail.

2015-08-18 Thread johan.karlsson at enea dot com
: gold Assignee: ccoutant at gmail dot com Reporter: johan.karlsson at enea dot com CC: ian at airs dot com Target Milestone: --- Created attachment 8529 --> https://sourceware.org/bugzilla/attachment.cgi?id=8529&action=edit The patch that is described