[Bug ld/19965] Copy relocation leads to change in read-only data

2017-01-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/19965] Copy relocation leads to change in read-only data

2016-04-18 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 --- Comment #4 from Alan Modra --- BTW, the testcase in comment #3 (and yours too!) show just how difficult it is to fix this problem. When the main program is *not* relro you don't have anywhere to put the new .dynbss.ro or whatever you want

[Bug ld/19965] Copy relocation leads to change in read-only data

2016-04-18 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3 f

[Bug ld/19965] Copy relocation leads to change in read-only data

2016-04-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 --- Comment #2 from H.J. Lu --- (In reply to Andreas Schwab from comment #1) > And how is that a bug? The program invokes undefined behavior. Linker should generate copy relocation against read-only symbol in .data.rel.ro section, instead of

[Bug ld/19965] Copy relocation leads to change in read-only data

2016-04-18 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19965 --- Comment #1 from Andreas Schwab --- And how is that a bug? The program invokes undefined behavior. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils m