소스 검색

+ define tf_smartlink_sections for the WASM targets

git-svn-id: branches/wasm@46703 -
nickysn 5 년 전
부모
커밋
35a4e705db
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;