Browse Source

+ define tf_smartlink_sections for the WASM targets

git-svn-id: branches/wasm@46703 -
nickysn 5 năm trước cách đây
mục cha
commit
35a4e705db
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 1 0
      compiler/systems/i_wasi.pas
  2. 1 0
      compiler/systems/i_wasm.pas

+ 1 - 0
compiler/systems/i_wasi.pas

@@ -47,6 +47,7 @@ unit i_wasi;
             shortname    : 'Wasi';
             flags        : [tf_under_development,tf_needs_symbol_size,tf_needs_symbol_type,
                             tf_files_case_sensitive,tf_no_generic_stackcheck,
+                            tf_smartlink_sections,
                             { avoid the creation of threadvar tables }
                             tf_section_threadvars];
             cpu          : cpu_wasm32;

+ 1 - 0
compiler/systems/i_wasm.pas

@@ -47,6 +47,7 @@ unit i_wasm;
             shortname    : 'Wasm';
             flags        : [tf_under_development,tf_needs_symbol_size,tf_needs_symbol_type,
                             tf_files_case_sensitive,tf_no_generic_stackcheck,
+                            tf_smartlink_sections,
                             { avoid the creation of threadvar tables }
                             tf_section_threadvars];
             cpu          : cpu_wasm32;