Dash:
[t2.git] / package / security / gnupg / sparc64.patch
blob1a0ad2b10ce2f76ad938cdf539832ab8d0b75ad6
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gnupg/sparc64.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Instrumented the sparc assembly to compile for sparc64 with recent binutils
18 versions ... The check does bus-error, though. But it does with generic C
19 code, too. So it is more likely some other problem ...
21 (Cross review libgcrypt/sparc64.patch while performing changes.)
23 - Rene Rebe <rene@exactcode.de>
25 diff -ur gnupg-1.2.6/mpi/sparc32/mpih-add1.S gnupg-1.2.6-fixed/mpi/sparc32/mpih-add1.S
26 --- gnupg-1.2.6/mpi/sparc32/mpih-add1.S 2002-06-29 16:14:10.000000000 +0200
27 +++ gnupg-1.2.6-fixed/mpi/sparc32/mpih-add1.S 2005-01-23 07:23:35.000000000 +0100
28 @@ -39,6 +39,9 @@
30 #include "sysdep.h"
32 + .register %g2,#scratch
33 + .register %g3,#scratch
35 .text
36 .align 4
37 .global C_SYMBOL_NAME(mpihelp_add_n)
38 diff -ur gnupg-1.2.6/mpi/sparc32/mpih-lshift.S gnupg-1.2.6-fixed/mpi/sparc32/mpih-lshift.S
39 --- gnupg-1.2.6/mpi/sparc32/mpih-lshift.S 2002-06-29 16:14:10.000000000 +0200
40 +++ gnupg-1.2.6-fixed/mpi/sparc32/mpih-lshift.S 2005-01-23 07:23:46.000000000 +0100
41 @@ -29,6 +29,9 @@
43 #include "sysdep.h"
45 + .register %g2,#scratch
46 + .register %g3,#scratch
48 .text
49 .align 4
50 .global C_SYMBOL_NAME(mpihelp_lshift)
51 diff -ur gnupg-1.2.6/mpi/sparc32/mpih-rshift.S gnupg-1.2.6-fixed/mpi/sparc32/mpih-rshift.S
52 --- gnupg-1.2.6/mpi/sparc32/mpih-rshift.S 2002-06-29 16:14:10.000000000 +0200
53 +++ gnupg-1.2.6-fixed/mpi/sparc32/mpih-rshift.S 2005-01-23 07:23:59.000000000 +0100
54 @@ -28,6 +28,9 @@
56 #include "sysdep.h"
58 + .register %g2,#scratch
59 + .register %g3,#scratch
61 .text
62 .align 4
63 .global C_SYMBOL_NAME(mpihelp_rshift)
64 diff -ur gnupg-1.2.6/mpi/sparc32/udiv.S gnupg-1.2.6-fixed/mpi/sparc32/udiv.S
65 --- gnupg-1.2.6/mpi/sparc32/udiv.S 2002-06-29 16:14:10.000000000 +0200
66 +++ gnupg-1.2.6-fixed/mpi/sparc32/udiv.S 2005-01-23 07:24:16.000000000 +0100
67 @@ -38,6 +38,9 @@
69 #include "sysdep.h"
71 + .register %g2,#scratch
72 + .register %g3,#scratch
74 .text
75 .align 4
76 .global C_SYMBOL_NAME(__udiv_qrnnd)
77 diff -ur gnupg-1.2.6/mpi/sparc32v8/mpih-mul1.S gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul1.S
78 --- gnupg-1.2.6/mpi/sparc32v8/mpih-mul1.S 2002-06-29 16:14:10.000000000 +0200
79 +++ gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul1.S 2005-01-23 07:22:22.000000000 +0100
80 @@ -39,6 +39,9 @@
82 #include "sysdep.h"
84 + .register %g2,#scratch
85 + .register %g3,#scratch
87 .text
88 .align 8
89 .global C_SYMBOL_NAME(mpihelp_mul_1)
90 diff -ur gnupg-1.2.6/mpi/sparc32v8/mpih-mul2.S gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul2.S
91 --- gnupg-1.2.6/mpi/sparc32v8/mpih-mul2.S 2002-06-29 16:14:10.000000000 +0200
92 +++ gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul2.S 2005-01-23 07:22:46.000000000 +0100
93 @@ -39,6 +39,9 @@
95 #include "sysdep.h"
97 + .register %g2,#scratch
98 + .register %g3,#scratch
100 .text
101 .align 4
102 .global C_SYMBOL_NAME(mpihelp_addmul_1)
103 diff -ur gnupg-1.2.6/mpi/sparc32v8/mpih-mul3.S gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul3.S
104 --- gnupg-1.2.6/mpi/sparc32v8/mpih-mul3.S 2002-06-29 16:14:10.000000000 +0200
105 +++ gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul3.S 2005-01-23 07:22:59.000000000 +0100
106 @@ -38,6 +38,9 @@
108 #include "sysdep.h"
110 + .register %g2,#scratch
111 + .register %g3,#scratch
113 .text
114 .align 4
115 .global C_SYMBOL_NAME(mpihelp_submul_1)