Fixed MPI assembly for ARM when -O2 is used

GCC with -O2 or higher also needs to now about 'cc' in the clobber list.
This commit is contained in:
Paul Bakker 2013-04-11 17:13:22 +02:00
parent 0ecdb23eed
commit eff2e6d414
2 changed files with 5 additions and 2 deletions

View file

@ -15,6 +15,9 @@ Changes
* Moved all OID functionality to a separate module. RSA function * Moved all OID functionality to a separate module. RSA function
prototypes for the RSA sign and verify functions changed as a result prototypes for the RSA sign and verify functions changed as a result
Bugfix
* Fix for MPI assembly for ARM
= Version 1.2.6 released 2013-03-11 = Version 1.2.6 released 2013-03-11
Bugfix Bugfix
* Fixed memory leak in ssl_free() and ssl_reset() for active session * Fixed memory leak in ssl_free() and ssl_reset() for active session

View file

@ -606,7 +606,7 @@
: "=m" (c), "=m" (d), "=m" (s) \ : "=m" (c), "=m" (d), "=m" (s) \
: "m" (s), "m" (d), "m" (c), "m" (b) \ : "m" (s), "m" (d), "m" (c), "m" (b) \
: "r0", "r1", "r2", "r3", "r4", "r5", \ : "r0", "r1", "r2", "r3", "r4", "r5", \
"r6", "r7", "r8", "r9" \ "r6", "r7", "r8", "r9", "cc" \
); );
#else #else
@ -640,7 +640,7 @@
: "=m" (c), "=m" (d), "=m" (s) \ : "=m" (c), "=m" (d), "=m" (s) \
: "m" (s), "m" (d), "m" (c), "m" (b) \ : "m" (s), "m" (d), "m" (c), "m" (b) \
: "r0", "r1", "r2", "r3", "r4", "r5", \ : "r0", "r1", "r2", "r3", "r4", "r5", \
"r6", "r7" \ "r6", "r7", "cc" \
); );
#endif /* Thumb */ #endif /* Thumb */