Explorar o código

Test the proper CPUARM capability when chosing between blx and bl.

git-svn-id: trunk@30273 -
Jeppe Johansen %!s(int64=10) %!d(string=hai) anos
pai
achega
3ef4033e7d
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      rtl/arm/arm.inc

+ 3 - 3
rtl/arm/arm.inc

@@ -534,11 +534,11 @@ asm
 {$endif}
   stmfd   sp!, {r1, lr}
   sub     r0, r1, #8
-{$if defined(CPUARM_HAS_BX) and not(defined(WINCE))}
+{$if defined(CPUARM_HAS_BLX_LABEL) and not(defined(WINCE))}
   blx     InterLockedDecrement
-{$else defined(CPUARM_HAS_BX) and not(defined(WINCE))}
+{$else defined(CPUARM_HAS_BLX_LABEL) and not(defined(WINCE))}
   bl      InterLockedDecrement
-{$endif defined(CPUARM_HAS_BX) and not(defined(WINCE))}
+{$endif defined(CPUARM_HAS_BLX_LABEL) and not(defined(WINCE))}
   // InterLockedDecrement is a nice guy and sets the z flag for us
   // if the reference count dropped to 0
   ldmnefd sp!, {r1, pc}