1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../libgcrypt/sparc64.patch
5 # Copyright (C) 2004 - 2005 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
20 (Cross review gnupg/sparc64.patch while performing changes.)
22 - Rene Rebe <rene@exactcode.de>
24 diff -ur libgcrypt-1.2.1/mpi/sparc32/mpih-add1.S libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-add1.S
25 --- libgcrypt-1.2.1/mpi/sparc32/mpih-add1.S 2002-05-14 15:11:08.000000000 +0200
26 +++ libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-add1.S 2005-01-23 06:34:02.000000000 +0100
31 + .register %g2,#scratch
32 + .register %g3,#scratch
36 .global C_SYMBOL_NAME(_gcry_mpih_add_n)
37 diff -ur libgcrypt-1.2.1/mpi/sparc32/mpih-lshift.S libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-lshift.S
38 --- libgcrypt-1.2.1/mpi/sparc32/mpih-lshift.S 2002-05-14 15:11:08.000000000 +0200
39 +++ libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-lshift.S 2005-01-23 06:34:24.000000000 +0100
44 + .register %g2,#scratch
45 + .register %g3,#scratch
49 .global C_SYMBOL_NAME(_gcry_mpih_lshift)
50 diff -ur libgcrypt-1.2.1/mpi/sparc32/mpih-rshift.S libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-rshift.S
51 --- libgcrypt-1.2.1/mpi/sparc32/mpih-rshift.S 2002-05-14 15:11:08.000000000 +0200
52 +++ libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-rshift.S 2005-01-23 06:36:43.000000000 +0100
57 + .register %g2,#scratch
58 + .register %g3,#scratch
62 .global C_SYMBOL_NAME(_gcry_mpih_rshift)
63 diff -ur libgcrypt-1.2.1/mpi/sparc32/udiv.S libgcrypt-1.2.1-fixed/mpi/sparc32/udiv.S
64 --- libgcrypt-1.2.1/mpi/sparc32/udiv.S 2002-05-14 15:11:08.000000000 +0200
65 +++ libgcrypt-1.2.1-fixed/mpi/sparc32/udiv.S 2005-01-23 06:36:59.000000000 +0100
70 + .register %g2,#scratch
71 + .register %g3,#scratch
75 .global C_SYMBOL_NAME(__udiv_qrnnd)
76 diff -ur libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul1.S libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul1.S
77 --- libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul1.S 2002-05-14 15:11:08.000000000 +0200
78 +++ libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul1.S 2005-01-23 06:32:51.000000000 +0100
83 + .register %g2,#scratch
84 + .register %g3,#scratch
88 .global C_SYMBOL_NAME(_gcry_mpih_mul_1)
89 diff -ur libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul2.S libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul2.S
90 --- libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul2.S 2002-05-14 15:11:08.000000000 +0200
91 +++ libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul2.S 2005-01-23 06:33:07.000000000 +0100
96 + .register %g2,#scratch
97 + .register %g3,#scratch
101 .global C_SYMBOL_NAME(_gcry_mpih_addmul_1)
102 diff -ur libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul3.S libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul3.S
103 --- libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul3.S 2002-05-14 15:11:08.000000000 +0200
104 +++ libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul3.S 2005-01-23 06:33:51.000000000 +0100
109 + .register %g2,#scratch
110 + .register %g3,#scratch
114 .global C_SYMBOL_NAME(_gcry_mpih_submul_1)