Browse Source

+ added tf_needs_symbol_size for the wasm32 targets

git-svn-id: branches/wasm@46670 -
nickysn 5 năm trước cách đây
mục cha
commit
6759ef3a6c
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;