2010-07-20 20:17:16 +02:00
|
|
|
Avoid link-time error
|
|
|
|
|
|
|
|
../src/.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd'
|
|
|
|
|
|
|
|
by choosing v8-like insns for 32-bit v9 mode too.
|
|
|
|
|
|
|
|
---
|
|
|
|
mpi/longlong.h | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2015-09-08 19:55:16 +02:00
|
|
|
Index: libgcrypt-1.6.4/mpi/longlong.h
|
2010-07-20 20:17:16 +02:00
|
|
|
===================================================================
|
2015-09-08 19:55:16 +02:00
|
|
|
--- libgcrypt-1.6.4.orig/mpi/longlong.h 2015-09-07 15:33:48.000000000 +0200
|
|
|
|
+++ libgcrypt-1.6.4/mpi/longlong.h 2015-09-08 10:36:28.124169828 +0200
|
|
|
|
@@ -1287,7 +1287,7 @@ typedef unsigned int UTItype __attribute
|
2010-07-20 20:17:16 +02:00
|
|
|
"rJ" ((USItype)(al)), \
|
|
|
|
"rI" ((USItype)(bl)) \
|
|
|
|
__CLOBBER_CC)
|
2015-09-08 19:55:16 +02:00
|
|
|
-#if defined (__sparc_v8__) || defined(__sparcv8)
|
|
|
|
+#if defined (__sparc_v8__) || defined(__sparcv8) || defined(__sparc_v9__)
|
2010-07-20 20:17:16 +02:00
|
|
|
/* 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,
|