search for: dylink

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

Did you mean: dlink
2020 Aug 10
2
(wasm-ld) Any fundamental problems with linking a shared wasm library statically?
...ld 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.mem imports it's similar, we find the location of the symbol relative to the modu...