瀏覽代碼

* .toc sections do not need a .csect on powerpc-macosclassic

florian 8 月之前
父節點
當前提交
dc6057a112
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/aggas.pas

+ 2 - 1
compiler/aggas.pas

@@ -562,7 +562,8 @@ implementation
            end;
          system_powerpc_macosclassic:
            begin
-             writer.AsmWrite('.csect ');
+             if atype<>sec_toc then
+               writer.AsmWrite('.csect ');
            end;
          system_wasm32_wasi,
          system_wasm32_embedded: