(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 Ard Biesheuvel from comment #2) OFFSET_ TABLE__ are emitted as
>
> 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_ OFFSET_ TABLE_