<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 9:47 AM, Simon Atanasyan via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Apr 18, 2017 at 2:49 AM, Sean Silva <<a href="mailto:chisophugis@gmail.com">chisophugis@gmail.com</a>> wrote:<br>
><br>
> Limited range for immediates is true for most RISC architectures. Why is<br>
> MIPS so special here? What do other arches do?<br>
<br>
</span>As far as I know (I'm not an expert though) other RISC architectures<br>
use either instructions with immediates longer than 16-bits or more<br>
than one instruction to calculate GOT entry address.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Simon Atanasyan<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>