瀏覽代碼

+ added tf_needs_symbol_size for the wasm32 targets

git-svn-id: branches/wasm@46670 -
nickysn 5 年之前
父節點
當前提交
6759ef3a6c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      compiler/systems/i_wasi.pas
  2. 1 1
      compiler/systems/i_wasm.pas

+ 1 - 1
compiler/systems/i_wasi.pas

@@ -45,7 +45,7 @@ unit i_wasi;
             system       : system_wasm32_wasi;
             name         : 'The WebAssembly System Interface (WASI)';
             shortname    : 'Wasi';
-            flags        : [tf_files_case_sensitive,tf_no_generic_stackcheck,
+            flags        : [tf_needs_symbol_size,tf_files_case_sensitive,tf_no_generic_stackcheck,
                             { avoid the creation of threadvar tables }
                             tf_section_threadvars];
             cpu          : cpu_wasm32;

+ 1 - 1
compiler/systems/i_wasm.pas

@@ -45,7 +45,7 @@ unit i_wasm;
             system       : system_wasm32_wasm;
             name         : 'WebAssembly';
             shortname    : 'Wasm';
-            flags        : [tf_files_case_sensitive,tf_no_generic_stackcheck,
+            flags        : [tf_needs_symbol_size,tf_files_case_sensitive,tf_no_generic_stackcheck,
                             { avoid the creation of threadvar tables }
                             tf_section_threadvars];
             cpu          : cpu_wasm32;