(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_
(In reply to H.J. Lu from comment #3) OFFSET_ TABLE__ are emitted as OFFSET_ TABLE_
> (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_
> > absolute, making this difficult to realise in practice.
>
> Not true on x86:
>
> 3987: 00000000003dd000 0 OBJECT LOCAL DEFAULT 33
> _GLOBAL_
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.