Displaying 2 results from an estimated 2 matches for "mipsla25thunk".
2016 Jun 22
2
[LLD] thunk implementation correctness depends on order of input section.
...with that because it just works for MIPS (except
> the bug you found) and satisfies our needs. And the amount of code for MIPS
> thunk is so small that we are not serious about reusing it. Probably the
> name given to it ("thunk") is too generic -- maybe we should rename it
> MipsLA25Thunk or something like that. I think you want to create a new type
> of thunk for ARM.
>
> The bug that we sometimes create broken MIPS thunks seems to have introduced
> in r265673 which Rafael made. Before that patch, we didn't assume that
> section VAs are available in scanRelocs. I...
2016 Jun 21
2
[LLD] thunk implementation correctness depends on order of input section.
I've been working on supporting ARM/Thumb interworking thunks in LLD
and have encountered a limitation that I think it is worth bringing up
in a wider context. This is all LLD specific, apologies if I've abused
llvm-dev here.
TL;DR summary:
- Thunks in lld may not work if they are added to InputSections that
have already been scanned.
- There is a short term fix, but in the longer term I