소스 검색

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

Nikolay Nikolov 1 년 전
부모
커밋
49395f2b00
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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');