[PATCH] D96770: [lld][WebAssembly] Fix resolveIndirectFunctionTable for relocatable output

Andy Wingo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 01:24:31 PST 2021


wingo added a comment.

In D96770#2565766 <https://reviews.llvm.org/D96770#2565766>, @sbc100 wrote:

> Does this mean the `--relocatable` always produces output with an entry in the symbol table for `__indirect_function_table`?  i.e. does the linker always produce non-MVP object files?

Yeah apparently so.  Though if no input needs an indirect function table, specifying --relocatable won't cause one to be produced.  Otherwise yes a symtab entry for __indirect_function_table is residualized.  Note however that the file is still conforming to the MVP spec (i.e no 5-byte relocs for call_indirect).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96770/new/

https://reviews.llvm.org/D96770



More information about the llvm-commits mailing list