Browse Source

* replaced old DWARF CFI section notation for Darwin with new one (more
changes are required before it works for Darwin)

git-svn-id: trunk@12920 -

Jonas Maebe 16 years ago
parent
commit
c548ce30ba
1 changed files with 2 additions and 4 deletions
  1. 2 4
      compiler/aggas.pas

+ 2 - 4
compiler/aggas.pas

@@ -85,8 +85,7 @@ interface
        protected
         function sectionname(atype:TAsmSectiontype;const aname:string;aorder:TAsmSectionOrder):string;override;
         procedure WriteWeakSymbolDef(s: tasmsymbol); override;
-       private
-        debugframecount: aint;
+
        end;
 
 
@@ -1218,8 +1217,7 @@ implementation
             sec_debug_frame,
             sec_eh_frame:
               begin
-                result := '.section __DWARFA,__debug_frame,coalesced,no_toc+strip_static_syms'#10'EH_frame'+tostr(debugframecount)+':';
-                inc(debugframecount);
+                result := '.section __DWARF,__debug_info,regular,debug';
                 exit;
               end;
             sec_debug_line: