[svn] gcry - r1407 - in trunk: . cipher src
svn author wk
cvs at cvs.gnupg.org
Sun Nov 29 13:30:21 CET 2009
Author: wk
Date: 2009-11-29 13:30:21 +0100 (Sun, 29 Nov 2009)
New Revision: 1407
Modified:
trunk/README
trunk/THANKS
trunk/cipher/cipher.c
trunk/src/ChangeLog
trunk/src/hwfeatures.c
Log:
Fix detection of cpuid statement.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2009-10-28 15:11:40 UTC (rev 1406)
+++ trunk/src/ChangeLog 2009-11-29 12:30:21 UTC (rev 1407)
@@ -1,3 +1,9 @@
+2009-11-29 Werner Koch <wk at g10code.com>
+
+ * hwfeatures.c (detect_ia32_gnuc): Repalce "=r" by "+r" so that
+ HAS-CPUDID is always initialized. Thanks to Ben Hutchings for
+ pointing out this problem.
+
2009-08-05 Werner Koch <wk at g10code.com>
* ath.h: Include sys/msg.h.
Modified: trunk/README
===================================================================
--- trunk/README 2009-10-28 15:11:40 UTC (rev 1406)
+++ trunk/README 2009-11-29 12:30:21 UTC (rev 1407)
@@ -192,13 +192,6 @@
make. Try gmake or grab the sources from a GNU archive and
install them.
- If you are cross-compiling and you get an error either building a
- tool called "yat2m" or running that tool, the problem is most
- likely a bad or missing native compiler. We require a standard
- C-89 compiler to produce an executable to be run on the build
- platform. You can explicitly set such a compiler with configure
- arguments. On HP/UX you might want to try: "CC_FOR_BUILD=c89".
-
Specific problems on some machines:
* IBM RS/6000 running AIX
@@ -216,8 +209,13 @@
./configure ac_cv_sys_symbol_underscore=yes
+ * Sparc64 CPUs
+ We have reports about failures in the AES module when
+ compiling using gcc (e.g. version 4.1.2) and the option -O3;
+ using -O2 solves the problem.
+
License
-------
Modified: trunk/THANKS
===================================================================
--- trunk/THANKS 2009-10-28 15:11:40 UTC (rev 1406)
+++ trunk/THANKS 2009-11-29 12:30:21 UTC (rev 1407)
@@ -7,6 +7,7 @@
Anand Kumria wildfire at progsoc.uts.edu.au
Andreas Metzler ametzler at downhill.at.eu.org
Ariel T Glenn ariel at columbia.edu
+Ben Hutchings ben decadent org uk
Bodo Moeller Bodo_Moeller at public.uni-hamburg.de
Brenno de Winter brenno at dewinter.com
Brian Moore bem at cmc.net
Modified: trunk/cipher/cipher.c
===================================================================
--- trunk/cipher/cipher.c 2009-10-28 15:11:40 UTC (rev 1406)
+++ trunk/cipher/cipher.c 2009-11-29 12:30:21 UTC (rev 1407)
@@ -1394,7 +1394,7 @@
/****************
* Encrypt INBUF to OUTBUF with the mode selected at open.
* inbuf and outbuf may overlap or be the same.
- * Depending on the mode some contraints apply to NBYTES.
+ * Depending on the mode some constraints apply to NBYTES.
*/
static gcry_err_code_t
cipher_encrypt (gcry_cipher_hd_t c, byte *outbuf,
Modified: trunk/src/hwfeatures.c
===================================================================
--- trunk/src/hwfeatures.c 2009-10-28 15:11:40 UTC (rev 1406)
+++ trunk/src/hwfeatures.c 2009-11-29 12:30:21 UTC (rev 1407)
@@ -67,7 +67,7 @@
"jz .Lno_cpuid%=\n\t" /* Toggling did not work, thus no CPUID. */
"movl $1, %0\n" /* Worked. true -> HAS_CPUID. */
".Lno_cpuid%=:\n\t"
- : "=r" (has_cpuid)
+ : "+r" (has_cpuid)
:
: "%eax", "%ecx", "cc"
);
More information about the Gnupg-commits
mailing list