Comment 9 for bug 1746765

Revision history for this message
In , Ard Biesheuvel (ard-biesheuvel) wrote :

(In reply to H.J. Lu from comment #3)
> (In reply to Ard Biesheuvel from comment #2)
> >
> > One could argue that absolute relocations against *absolute* ELF symbols
> > should always be resolved at static link time, but I am aware that, for
> > historical reasons, symbols like __GLOBAL_OFFSET_TABLE__ are emitted as
> > absolute, making this difficult to realise in practice.
>
> Not true on x86:
>
> 3987: 00000000003dd000 0 OBJECT LOCAL DEFAULT 33
> _GLOBAL_OFFSET_TABLE_

Oh right.

Well, in any case, please refer to this ticket

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

and the link in the comments for more discussion on this topic.