Quellcode durchsuchen

* another FPC_VERSION => FPC_FULLVERSIOn fix
* switch back to 32 Bit mode if no thumb code is generated

git-svn-id: trunk@48630 -

florian vor 4 Jahren
Ursprung
Commit
71c314d7d4
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      rtl/linux/arm/sighnd.inc

+ 4 - 1
rtl/linux/arm/sighnd.inc

@@ -23,7 +23,7 @@ end;
 {$ifndef CPUTHUMB}
 {$ifndef CPUTHUMB}
 Procedure SignalToHandleErrorAddrFrame_ARM(Errno : longint;addr : CodePointer; frame : Pointer); nostackframe; assembler;
 Procedure SignalToHandleErrorAddrFrame_ARM(Errno : longint;addr : CodePointer; frame : Pointer); nostackframe; assembler;
 asm
 asm
-{$if FPC_VERSION >= 30200}
+{$if FPC_FULLVERSION >= 30200}
 .code 32
 .code 32
 {$endif}
 {$endif}
   // the address is of the faulting instruction, and sigreturn will
   // the address is of the faulting instruction, and sigreturn will
@@ -57,6 +57,9 @@ asm
   mov lr, r0
   mov lr, r0
   pop {r0,r1,r2,pc}
   pop {r0,r1,r2,pc}
 .text
 .text
+{$ifndef CPUTHUMB}
+.code 32
+{$endif CPUTHUMB}
 end;
 end;
 {$endif}
 {$endif}