PATCH for i386: --no-copy-relocs
Richard Henderson
rth@redhat.com
Wed Jun 27 11:25:00 GMT 2001
On Wed, Jun 20, 2001 at 09:35:54AM +0930, Alan Modra wrote:
> As a side note, doing this does not provide any benefit at run-time for
> data accesses, besides reducing dynamic loader time; Data accesses still
> go through the .got.
They wouldn't necessarily need to though. You could implement
a form of relaxation on x86 that transformed
movl foo@GOT(%ebx), %edx
into
leal foo@GOTOFF(%ebx), %edx
which is convenient in that the instructions are the same size.
r~
More information about the Binutils
mailing list