[PATCH] D31528: [ELF][MIPS] Multi-GOT implementation

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Mon May 29 22:36:09 PDT 2017


On Tue, May 30, 2017 at 3:39 AM, Rafael Avila de Espindola via
llvm-commits <llvm-commits at lists.llvm.org> wrote:
>> ·         ifunc – This is still in review and has slowed down a bit in pace. The general issues of how it will work with the GOT have been resolved and it should progress.
>
> This is another good example of why it is bad to have mips only cases
> and one has to fight to reduce the differences instead of increase them.
>
> Since you will need dynamic linker support for ifunc, why not put the
> effort to use a got format that is more, not less, similar than other gots?

MIPS GOT has some advantages for MIPS hardware. Making it more similar
to other GOTs is not a clear decision which provides only benefits
without any disadvantages.

In general, if we do not support current MIPS ABIs in LLD, nobody will
use LLD for MIPS. If nobody use LLD for MIPS, any attempts to discuss
/ invent / improve MIPS ABI will be useless. From end-user points of
view there are bfd/gold linkers support all MIPS specialities and it
is not clear why the end-user needs to accept or even waste a time to
discuss one more MIPS ABI just to start using LLD.

-- 
Simon Atanasyan


More information about the llvm-commits mailing list