Browse Source

+ WASI internal linker: add all object sections, starting with '.bss' to the .bss section

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

+ 1 - 1
compiler/systems/t_wasi.pas

@@ -313,7 +313,7 @@ begin
   LinkScript.Concat('  OBJSECTION .data.*');
   LinkScript.Concat('ENDEXESECTION');
   LinkScript.Concat('EXESECTION .bss');
-  LinkScript.Concat('  OBJSECTION .bss');
+  LinkScript.Concat('  OBJSECTION .bss*');
   LinkScript.Concat('ENDEXESECTION');
 
   ScriptAddGenericSections('.debug_abbrev,.debug_info,.debug_line,.debug_aranges,.debug_ranges');