diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-04-06 14:38:03 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2016-04-06 14:38:03 -0700 |
commit | 0d1a66c540a2c89e1d4543fe318976ad1c6411f1 (patch) | |
tree | 5a6a43f3adc6a965de0c01fb78dd717a312cc907 /test/dot_s/function-data-sections.wast | |
parent | 62c07b549d14dfb974f73554026f0b9fff365968 (diff) | |
download | binaryen-0d1a66c540a2c89e1d4543fe318976ad1c6411f1.tar.gz binaryen-0d1a66c540a2c89e1d4543fe318976ad1c6411f1.tar.bz2 binaryen-0d1a66c540a2c89e1d4543fe318976ad1c6411f1.zip |
Allocate __dso_handle in s2wasm
Unlike asm.js modules, wasm modules cannot have imported/extern
objects. So allocate __dso_handle (which is traditionally defined in
a crtbegin or similar toolchain file linked with the user code) in s2wasm.
Diffstat (limited to 'test/dot_s/function-data-sections.wast')
-rw-r--r-- | test/dot_s/function-data-sections.wast | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dot_s/function-data-sections.wast b/test/dot_s/function-data-sections.wast index 5486fcefb..784e42d97 100644 --- a/test/dot_s/function-data-sections.wast +++ b/test/dot_s/function-data-sections.wast @@ -1,8 +1,8 @@ (module (memory 1 - (segment 8 "\00\00\00\00") - (segment 12 "\01\00\00\00") - (segment 16 "33\13@") + (segment 12 "\00\00\00\00") + (segment 16 "\01\00\00\00") + (segment 20 "33\13@") ) (export "memory" memory) (export "foo" $foo) @@ -25,4 +25,4 @@ ) ) ) -;; METADATA: { "asmConsts": {},"staticBump": 20, "initializers": [] } +;; METADATA: { "asmConsts": {},"staticBump": 24, "initializers": [] } |