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

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 15:14:20 PDT 2015


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





More information about the llvm-commits mailing list