1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../gnupg/sparc64.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
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
32 + .register %g2,#scratch
33 + .register %g3,#scratch
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
45 + .register %g2,#scratch
46 + .register %g3,#scratch
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
58 + .register %g2,#scratch
59 + .register %g3,#scratch
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
71 + .register %g2,#scratch
72 + .register %g3,#scratch
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
84 + .register %g2,#scratch
85 + .register %g3,#scratch
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
97 + .register %g2,#scratch
98 + .register %g3,#scratch
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
110 + .register %g2,#scratch
111 + .register %g3,#scratch
115 .global C_SYMBOL_NAME(mpihelp_submul_1)