summaryrefslogtreecommitdiff
path: root/test/unit/test_features.py
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-04-02 14:53:48 -0700
committerGitHub <noreply@github.com>2019-04-02 14:53:48 -0700
commitb192c53c6ef549bb5264bc58a71424ce311a4890 (patch)
tree895f6535ba16bed2c5ec75d365dfe37eda776315 /test/unit/test_features.py
parent8e8cb825cd28bc1c188f9cf796bd97626bc1bb40 (diff)
downloadbinaryen-b192c53c6ef549bb5264bc58a71424ce311a4890.tar.gz
binaryen-b192c53c6ef549bb5264bc58a71424ce311a4890.tar.bz2
binaryen-b192c53c6ef549bb5264bc58a71424ce311a4890.zip
wasm-emscripten-finalize: Improve shared library support (#1961)
Convert PIC code generated by llvm to work with the current emscripten ABI for dynamic linking: - Convert mutable global imports from GOT.mem and GOT.func into internal globals. - Initialize these globals on started up in g$foo and f$foo imported functions to calculate addresses at runtime. Also: - Add a test case for linking and finalizing a shared library - Allow __stack_pointer global to be non-existent as can be case for a shared library. - Allow __stack_pointer global to be an import, as can be the case for a shared library.
Diffstat (limited to 'test/unit/test_features.py')
0 files changed, 0 insertions, 0 deletions