[git] GCRYPT - branch, master, updated. libgcrypt-1.5.0-4-g5e14de0

by Werner Koch cvs at cvs.gnupg.org
Mon Jul 4 13:22:18 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  5e14de02b323d207151429d37f006ec30bbf7783 (commit)
      from  7cae9fdfc9e322941545a3a2128a5ead1010a6cf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5e14de02b323d207151429d37f006ec30bbf7783
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Jul 4 12:45:44 2011 +0200

    Allow building for ARM thumb.  Similar to bug#1202.

diff --git a/mpi/ChangeLog b/mpi/ChangeLog
index 7d32f5a..4b7b8cf 100644
--- a/mpi/ChangeLog
+++ b/mpi/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-04  Werner Koch  <wk at g10code.com>
+
+	* longlong.h (add_ssaaaa) [__arm__]: Do no use asm if thumb code
+	generation is enabled.  This is bug#1202.  Reported for gpg 1.4.
+
 2011-03-28  Werner Koch  <wk at g10code.com>
 
 	* mpi-pow.c (gcry_mpi_powm): Remove unused var RSEC.
diff --git a/mpi/longlong.h b/mpi/longlong.h
index be88cae..5dba793 100644
--- a/mpi/longlong.h
+++ b/mpi/longlong.h
@@ -2,7 +2,7 @@
    Note: I added some stuff for use with gnupg
 
 Copyright (C) 1991, 1992, 1993, 1994, 1996, 1998,
-              2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+              2000, 2001, 2002, 2003, 2004, 2011 Free Software Foundation, Inc.
 
 This file is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -184,7 +184,7 @@ extern UDItype __udiv_qrnnd ();
 /***************************************
  **************  ARM  ******************
  ***************************************/
-#if defined (__arm__) && W_TYPE_SIZE == 32
+#if defined (__arm__) && W_TYPE_SIZE == 32 && !defined (__thumb__)
 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
   __asm__ ("adds %1, %4, %5\n"                                          \
 	   "adc  %0, %2, %3"                                            \

-----------------------------------------------------------------------

Summary of changes:
 mpi/ChangeLog  |    5 +++++
 mpi/longlong.h |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list