Browse Source

* don't use arm assembler md5 implementation of thumb code is generated

florian 4 months ago
parent
commit
32a9dab401
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/hash/src/md5.pp

+ 2 - 2
packages/hash/src/md5.pp

@@ -353,7 +353,7 @@ end;
       {$i md5x64_sysv.inc}
       {$define MD5ASM}
     {$endif MSWINDOWS}
-  {$elseif defined(CPUARM)}
+  {$elseif defined(CPUARM) and not (defined(CPUTHUMB)) and not (defined(CPUTHUMB2))}
     {$i md5arm.inc}
     {$define MD5ASM}
   {$endif}
@@ -826,5 +826,5 @@ function StrtoMD5(const MD5String:String):TMDDigest;
        end;
      if not f then
        FillChar(Result, Sizeof(Result), 0);
-   end; 
+   end;
 end.