summaryrefslogtreecommitdiff
path: root/security/libgcrypt/patches/patch-ad
blob: 6e5f53ea717dcee13b5d107ffc7bb7a5af8bb32d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 2011/07/13 21:21:52 adam Exp $

--- mpi/longlong.h.orig	2004-03-03 08:21:49.000000000 +0000
+++ mpi/longlong.h
@@ -1150,7 +1150,7 @@ extern USItype __udiv_qrnnd ();
 	     "rJ" ((USItype)(al)),                                      \
 	     "rI" ((USItype)(bl))                                       \
 	   __CLOBBER_CC)
-#if defined (__sparc_v8__)
+#if defined (__sparc_v8__) || defined(__sparcv8)
 /* Don't match immediate range because, 1) it is not often useful,
    2) the 'I' flag thinks of the range as a 13 bit signed interval,
    while we want to match a 13 bit interval, sign extended to 32 bits,