[Bug gold/25034] gold creates incorrect executable with large arrays

2019-10-01 Thread greened at obbligato dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25034 David Greene changed: What|Removed |Added CC||greened at obbligato dot org -- You

[Bug gold/25034] gold creates incorrect executable with large arrays

2019-09-25 Thread greened at obbligato dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25034 --- Comment #2 from David Greene --- Also note that bfd locates x below bigarrays. That seems like better behavior, keeping small symbols closer to the text. -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug gold/25034] gold creates incorrect executable with large arrays

2019-09-25 Thread greened at obbligato dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25034 --- Comment #1 from David Greene --- Here is the original reference generated by gcc: movqx@GOTPCREL(%rip), %rax movl$20, (%rax) So it does look like gold is trying to relax the GOT reference to an LEA. -- You are r

[Bug gold/25034] New: gold creates incorrect executable with large arrays

2019-09-25 Thread greened at obbligato dot org
Component: gold Assignee: ccoutant at gmail dot com Reporter: greened at obbligato dot org CC: ian at airs dot com Target Milestone: --- $ cat big.c #include struct { double a[512][512][512]; double b[512][512][512]; double c[512][512][512]; } bigarrays

[Bug gold/24997] ld.gold creates huge binary with same options as ld.bfd

2019-09-25 Thread greened at obbligato dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24997 David Greene changed: What|Removed |Added CC||greened at obbligato dot org -- You