Browse Source

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

Nikolay Nikolov 1 năm trước cách đây
mục cha
commit
49395f2b00
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');