[PATCH] Fix armv3 compile error

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Fri Nov 29 08:56:43 CET 2013


ARMv3 code uses __CLOBBER_CC at the end of clobber list while it should have been __AND_CLOBBER_CC


diff --git a/grub-core/lib/libgcrypt/mpi/longlong.h b/grub-core/lib/libgcrypt/mpi/longlong.h
index 6f8dda7..cd3ea20 100644
--- a/grub-core/lib/libgcrypt/mpi/longlong.h
+++ b/grub-core/lib/libgcrypt/mpi/longlong.h
@@ -247,7 +247,7 @@ extern UDItype __udiv_qrnnd ();
             "=r" ((xl))                                                \
           : "r" ((USItype)(a)),                                        \
             "r" ((USItype)(b))                                         \
-          : "r0", "r1", "r2" __CLOBBER_CC)
+          : "r0", "r1", "r2" __AND_CLOBBER_CC)
 #else /* __ARM_ARCH >= 4 */
 #define umul_ppmm(xh, xl, a, b)                                         \
   __asm__ ("@ Inlined umul_ppmm\n"                                      \

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 291 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20131129/28015ad9/attachment-0001.sig>


More information about the Gcrypt-devel mailing list