Browse Source

* no sec_bss markers anymore (.comm/.lcomm automatically change
the section type)
* sec_eh_frame = sec_debug_frame

git-svn-id: trunk@2534 -

Jonas Maebe 19 years ago
parent
commit
f7d5dd13bf
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/powerpc/agppcgas.pas

+ 5 - 2
compiler/powerpc/agppcgas.pas

@@ -107,8 +107,11 @@ unit agppcgas;
         if (target_info.system = system_powerpc_darwin) then
           case atype of
             sec_bss:
-              atype := sec_code;
-            sec_debug_frame:
+              { all bss (lcomm) symbols are automatically put in the right }
+              { place by using the lcomm assembler directive               }
+              atype := sec_none;
+            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);