[PATCH] D11612: [lld][ELF2] Apply relocations.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 14:35:14 PDT 2015


There may be more things to think. I'd like to see to land with
non-single-pass approach as I suggested so that it doesn't block anyone. We
can revisit this later when needed.

On Mon, Aug 10, 2015 at 3:14 PM, Simon Atanasyan <simon at atanasyan.com>
wrote:

> atanasyan added a comment.
>
> There is one more question about single-pass relocation handling. On MIPS
> if you call non-PIC routine from a PIC one you should create a thunk
> contains three instructions. We do not known the number of the thunks until
> we scan all relocations. So we cannot predict the output .text section's
> size and offsets. IIRC ARM requires some kind of thunks too. How can the
> single-pass relocation calculation handle this problem?
>
>
> http://reviews.llvm.org/D11612
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150811/55a77507/attachment.html>


More information about the llvm-commits mailing list