소스 검색

+ WASI internal linker: also add .debug_frame and .debug_str sections to the output binary

Nikolay Nikolov 1 년 전
부모
커밋
749688b3b0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/systems/t_wasi.pas

+ 1 - 1
compiler/systems/t_wasi.pas

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