Ver código fonte

* proper section names for sec_debug_line, sec_debug_info and
sec_debug_abbrev on darwin

git-svn-id: trunk@6284 -

Jonas Maebe 18 anos atrás
pai
commit
73c853757a
1 arquivos alterados com 15 adições e 0 exclusões
  1. 15 0
      compiler/aggas.pas

+ 15 - 0
compiler/aggas.pas

@@ -1105,6 +1105,21 @@ implementation
                 inc(debugframecount);
                 exit;
               end;
+            sec_debug_line:
+              begin
+                result := '.section __DWARF,__debug_line,regular,debug';
+                exit;
+              end;
+            sec_debug_info:
+              begin
+                result := '.section __DWARF,__debug_info,regular,debug';
+                exit;
+              end;
+            sec_debug_abbrev:
+               begin
+                 result := '.section __DWARF,__debug_abbrev,regular,debug';
+                 exit;
+               end;
             sec_rodata:
               begin
                 result := '.const';