[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 a

[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