equal
deleted
inserted
replaced
|
1 |
|
2 The patch fixes the gcc portability on Solaris 9 SPARC boxes. |
|
3 |
|
4 In the mpi/longlong.h adds __sparcv8 as an alias for __sparc_v8__. If |
|
5 not applied, the compilation process fails during linkage with a |
|
6 missing/unresolved symbol __udiv_qrnnd. |
|
7 |
|
8 This patch originally comes from the upstream and it was locally updated |
|
9 to reflect indentation added to the file in the 1.7 branch; the original |
|
10 patch was applied on the 1.6 branch but it has been withdrawn for 1.7. |
|
11 https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=d2816248461c24a7ea81a1de2f562f481ccc9edd |
|
12 |
|
13 --- ./mpi/longlong.h.orig Thu Jun 2 03:11:06 2016 |
|
14 +++ ./mpi/longlong.h Thu Jun 2 03:11:33 2016 |
|
15 @@ -1293,7 +1293,7 @@ |
|
16 "rJ" ((USItype)(al)), \ |
|
17 "rI" ((USItype)(bl)) \ |
|
18 __CLOBBER_CC) |
|
19 -# if defined (__sparc_v8__) |
|
20 +# if defined (__sparc_v8__) || defined (__sparcv8) |
|
21 /* Don't match immediate range because, 1) it is not often useful, |
|
22 2) the 'I' flag thinks of the range as a 13 bit signed interval, |
|
23 while we want to match a 13 bit interval, sign extended to 32 bits, |