commit | fc4f46fa9a04cab01aab75c4c44bf79fe6a5fc26 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Jun 24 19:23:56 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jun 25 15:06:52 2013 +0200 |
tree | 94e92a855b05b9a73d8f76f7ae3e133614069a66 | |
parent | 531e2943131eef1603ea602e347565144038a896 [diff] |
Fixed bignum.c and bn_mul.h to support Thumb2 and LLVM compiler (cherry picked from commit 52b845be34a6b5cfa48f34bfbcddd83069d8c0c3)
diff --git a/include/polarssl/bn_mul.h b/include/polarssl/bn_mul.h index cffcd6b..1c2da13 100644 --- a/include/polarssl/bn_mul.h +++ b/include/polarssl/bn_mul.h
@@ -548,7 +548,7 @@ #if defined(__arm__) -#if defined(__thumb__) +#if defined(__thumb__) && !defined(__thumb2__) #define MULADDC_INIT \ asm( \