Pārlūkot izejas kodu

* put the i8086-msdos dwarf debug sections in USE32 class=DWARF segments because
wlink wants them this way

git-svn-id: trunk@25873 -

nickysn 12 gadi atpakaļ
vecāks
revīzija
9f979eb5c6
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      compiler/x86/agx86nsm.pas

+ 7 - 0
compiler/x86/agx86nsm.pas

@@ -1139,6 +1139,13 @@ interface
           else
             AsmWriteLn('GROUP dgroup rodata data fpc bss');
         end;
+      if paratargetdbg in [dbg_dwarf2,dbg_dwarf3,dbg_dwarf4] then
+        begin
+          AsmWriteLn('SECTION .debug_frame  use32 class=DWARF');
+          AsmWriteLn('SECTION .debug_info   use32 class=DWARF');
+          AsmWriteLn('SECTION .debug_line   use32 class=DWARF');
+          AsmWriteLn('SECTION .debug_abbrev use32 class=DWARF');
+        end;
       AsmWriteLn('SECTION ' + CodeSectionName);
 {$else i8086}
       AsmWriteLn('BITS 32');