瀏覽代碼

* 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 年之前
父節點
當前提交
f7d5dd13bf
共有 1 個文件被更改,包括 5 次插入2 次删除
  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);