ソースを参照

* .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: