Commit 2d7c39e0 authored by Sergei Golubchik's avatar Sergei Golubchik

disable x86 asm version of taocrypt arc4 code for gcc,

because it assumes the function prologue that gcc does not
generate.
parent 86c64205
...@@ -133,6 +133,10 @@ void CleanUp(); ...@@ -133,6 +133,10 @@ void CleanUp();
#define TAOCRYPT_DISABLE_X86ASM #define TAOCRYPT_DISABLE_X86ASM
#endif #endif
// a problem with gcc (newer versions only?)
#if defined(__GNUC__)
#define TAOCRYPT_DISABLE_X86ASM
#endif
// Turn on ia32 ASM for Big Integer // Turn on ia32 ASM for Big Integer
// CodeWarrior defines _MSC_VER // CodeWarrior defines _MSC_VER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment