RFC: Properly handle protected data symbol with copy relocation
Alan Modra
amodra@bigpond.net.au
Mon Jan 24 22:32:00 GMT 2005
On Mon, Jan 24, 2005 at 02:47:50PM -0500, Ian Lance Taylor wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
> Seems more or less reasonable. I still don't understand why x86_64
> can't simply use a writable text section. I understand that it
> doesn't do it; I don't understand why it can't do it.
The problem is that x86_64 uses a 64-bit address space, so 32-bit
pc-relative relocations in the executable may not be able to reach into
a shared library.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list