bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: amodra at gmail dot com
Subject: [Bug ld/19965] Copy relocation leads to change in read-only data
Date: Tue, 19 Apr 2016 03:55:35 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19965

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
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 to call the internal
linker generated section for read-only .dynbss variables.  You don't have a
.data.rel.ro in the main executable and can't tack them on to .rodata, because
then ld.so will segfault when applying the copy relocation..

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]