Browse Source

+ WASI internal linker: added the .wasm_tags exe section to the linker script

Nikolay Nikolov 1 year ago
parent
commit
59c88f4c79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/systems/t_wasi.pas

+ 1 - 1
compiler/systems/t_wasi.pas

@@ -302,7 +302,7 @@ begin
   LinkScript.Concat('  OBJSECTION .wasm_globals.*');
   LinkScript.Concat('ENDEXESECTION');
 
-  ScriptAddGenericSections('.text,.rodata,.data,.bss,.debug_frame,.debug_info,.debug_line,.debug_abbrev,.debug_aranges,.debug_ranges,.debug_str');
+  ScriptAddGenericSections('.wasm_tags,.text,.rodata,.data,.bss,.debug_frame,.debug_info,.debug_line,.debug_abbrev,.debug_aranges,.debug_ranges,.debug_str');
 end;
 
 function TInternalLinkerWasi.GetDataSize(aExeOutput: TExeOutput): QWord;