This is a new mode for handling unresolved symbols that allows all
symbols to be imported in the same way they would be in the case of
-fpie or -shared but generating an otherwise fixes/non-relocatable
binary.
Code linked in this way should still be compiled with -fPIC so that
data symbols can be resolved via imports.
This essentially allow the building of static binaries that have dynamic
imports. See:
https://github.com/emscripten-core/emscripten/issues/12682
As with other used of dynamic linking ABI this beviour will produce a
warning unless run with --experimental-pic.
this is now slightly confusing since --unresolved symbols is no longer completely orthogonal to --import-undefined? Probably at least the doc for --import-undefined should go just above --unresolved-symbols