Browse Source

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

florian 8 tháng trước cách đây
mục cha
commit
dc6057a112
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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: