https://sourceware.org/bugzilla/show_bug.cgi?id=19965
H.J. Lu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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
https://sourceware.org/bugzilla/show_bug.cgi?id=19965
Alan Modra changed:
What|Removed |Added
CC||amodra at gmail dot com
--- Comment #3 f
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
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