From be0a20c3fa39e1fff584f0eb334dd9285e1f1ffa Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 10 Jul 2019 02:59:11 -0700 Subject: Ignore --initial-stack-pointer arg to wasm-emscripten-finalize (#2201) We were passing bad value in --initial-stack-pointer which did not include the STATIC_BUMP (since STATIC_BUMP is determinted by the output of finalize). If emscripten wants to set the stack pointer position it can do so by calling the stackRestore() function at startup. This argument will be removed completely once we stop passing it on the emscripten side. See https://github.com/emscripten-core/emscripten/issues/8905 --- scripts/test/lld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/test') diff --git a/scripts/test/lld.py b/scripts/test/lld.py index fae551f0d..66c4ebb47 100755 --- a/scripts/test/lld.py +++ b/scripts/test/lld.py @@ -25,7 +25,7 @@ def args_for_finalize(filename): if 'shared' in filename: return ['--side-module'] else: - return ['--global-base=568', '--initial-stack-pointer=16384'] + return ['--global-base=568'] def test_wasm_emscripten_finalize(): -- cgit v1.2.3