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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 05:19:46 PDT 2017


But MIPS multi-GOT is not integrated well as other parts of the system, no?
It seems that it tried to avoid making any changes to the system. It
doesn't use any help from dynamic linker other than the regular dynamic
relocation processing. So we have to generate more dynamic relocations than
necessary to simulate what the dynamic linker would do for the real GOT.

On Tue, Apr 18, 2017 at 9:47 AM, Simon Atanasyan via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> On Tue, Apr 18, 2017 at 2:49 AM, Sean Silva <chisophugis at gmail.com> wrote:
> >
> > Limited range for immediates is true for most RISC architectures. Why is
> > MIPS so special here? What do other arches do?
>
> As far as I know (I'm not an expert though) other RISC architectures
> use either instructions with immediates longer than 16-bits or more
> than one instruction to calculate GOT entry address.
>
> --
> Simon Atanasyan
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170419/a8ef2327/attachment.html>


More information about the llvm-commits mailing list