Explorar el Código

* enabled darwin/ppc64 for the llvm target

git-svn-id: branches/hlcgllvm@26072 -
Jonas Maebe hace 11 años
padre
commit
0cc581825f
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 1 1
      compiler/llvm/agllvm.pas
  2. 4 0
      compiler/powerpc64/cpunode.pas

+ 1 - 1
compiler/llvm/agllvm.pas

@@ -797,7 +797,7 @@ implementation
           idtxt  : 'LLVM-AS';
           asmbin : 'llc';
           asmcmd: '$OPT -o $OBJ $ASM';
-          supported_targets : [system_x86_64_linux,system_x86_64_darwin];
+          supported_targets : [system_x86_64_linux,system_x86_64_darwin,system_powerpc64_darwin];
           flags : [af_smartlink_sections];
           labelprefix : 'L';
           comment : '; ';

+ 4 - 0
compiler/powerpc64/cpunode.pas

@@ -35,6 +35,7 @@ uses
     the processor specific nodes must be included
     after the generic one (FK)
   }
+{$ifndef llvm}
   nppcadd,
   nppccal,
   //       nppccon,
@@ -46,6 +47,9 @@ uses
   nppcmat,
   nppccnv,
   nppcld
+{$else not llvm}
+  llvmnode
+{$endif not llvm}
   ;
 
 end.