search for: __wasm_apply_relocs

Displaying 1 result from an estimated 1 matches for "__wasm_apply_relocs".

2020 Aug 10
2
(wasm-ld) Any fundamental problems with linking a shared wasm library statically?
...this simply something that wasn't needed and could be implemented if needed. I think this could be done by - Resolving "GOT.mem" and "GOT.func" imports and replacing the imports with globals to mem/table indices of the imported symbols. - Applying dynamic relocations ($__wasm_apply_relocs) statically or dynamically in a linker-generated start function. - (I think dylink section is not needed) For (1), for a GOT.func import, we can find the function's table index (add it to the table if it's not already added) and replace the import with the constant of the index. For GOT...