wasm-linker: Resolve relocations

We now resolve relocations for globals, memory addresses and function indexes.
Besides above, we now also emit imported functions correctly and create a
corresponding undefined symbol for it, where as we create a defined symbol
for all other cases.

TODO: Make incrememental compilation work again with new linker infrastructure
a54ac08885Luuk de Gram committed on 11/27/2021, 2:02:05 PMparentf56ae69
5 files changedLine totals unavailable