Explorar el Código

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

florian hace 8 meses
padre
commit
dc6057a112
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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: