Fixed MPI assembly for ARM when -O2 is used

GCC with -O2 or higher also needs to now about 'cc' in the clobber list.
(cherry picked from commit eff2e6d414)

Conflicts:
	ChangeLog
This commit is contained in:
Paul Bakker 2013-04-12 09:40:38 +02:00
parent 90f042d4cb
commit d4c5944212
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
PolarSSL ChangeLog
= Branch 1.2
Bugfix
* Fix for MPI assembly for ARM
= Version 1.2.6 released 2013-03-11
Bugfix
* 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" (s), "m" (d), "m" (c), "m" (b) \
: "r0", "r1", "r2", "r3", "r4", "r5", \
"r6", "r7", "r8", "r9" \
"r6", "r7", "r8", "r9", "cc" \
);
#else
@ -640,7 +640,7 @@
: "=m" (c), "=m" (d), "=m" (s) \
: "m" (s), "m" (d), "m" (c), "m" (b) \
: "r0", "r1", "r2", "r3", "r4", "r5", \
"r6", "r7" \
"r6", "r7", "cc" \
);
#endif /* Thumb */