Browse Source

Fix assembler condition string failure for powerpc/powerpc64 cpu targets

git-svn-id: trunk@27612 -
pierre 11 years ago
parent
commit
c4620f6d84
1 changed files with 8 additions and 0 deletions
  1. 8 0
      ide/fpviews.pas

+ 8 - 0
ide/fpviews.pas

@@ -954,10 +954,18 @@ end;
 
 {$ifdef powerpc}
   {$define USE_TasmCondFlag}
+  { powerpc only has A_B prefix }
+  const
+    CondAsmOps = 1;
+    CondAsmOpStr : array [0..CondAsmOps-1] of string[2] = ('b');
   {$define Use_gas_op2str}
 {$endif}
 {$ifdef powerpc64}
   {$define USE_TasmCondFlag}
+  { powerpc64 only has A_B prefix }
+  const
+    CondAsmOps = 1;
+    CondAsmOpStr : array [0..CondAsmOps-1] of string[2] = ('b');
   {$define Use_gas_op2str}
 {$endif}
 {$ifdef i386}