[PATCH] D33436: [ARM] Create relocation for Thumb functions calling ARM fns.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 10:30:25 PDT 2017


Peter Smith <peter.smith at linaro.org> writes:
> For the linker:
> - It is permissible to use additional information such as mapping
> symbols to work out the ARM/Thumb state of the STT_NOTYPE symbol, it
> can give an error message or perform the interworking as if the symbol
> had type STT_FUNC.
> - In absence of additional information the linker may trust that all
> interworking has been done by the object producer and hence it should
> not substitute BLX for BL or use a stub/thunk/veneer to interwork.

Given that the local case can be solved in the assembler, my preference
would be to just not try to interwork with non STT_FUNC symbols.

Cheers,
Rafael


More information about the llvm-commits mailing list