Procházet zdrojové kódy

* 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 před 19 roky
rodič
revize
f7d5dd13bf
1 změnil soubory, kde provedl 5 přidání a 2 odebrání
  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
         if (target_info.system = system_powerpc_darwin) then
           case atype of
           case atype of
             sec_bss:
             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
               begin
                 result := '.section __DWARFA,__debug_frame,coalesced,no_toc+strip_static_syms'#10'EH_frame'+tostr(debugframecount)+':';
                 result := '.section __DWARFA,__debug_frame,coalesced,no_toc+strip_static_syms'#10'EH_frame'+tostr(debugframecount)+':';
                 inc(debugframecount);
                 inc(debugframecount);