OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
3.7 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../libgcrypt/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 ---
  16. Instrumented the sparc assembly to compile for sparc64 with recent binutils
  17. versions ...
  18. (Cross review gnupg/sparc64.patch while performing changes.)
  19. - Rene Rebe <rene@exactcode.de>
  20. diff -ur libgcrypt-1.2.1/mpi/sparc32/mpih-add1.S libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-add1.S
  21. --- libgcrypt-1.2.1/mpi/sparc32/mpih-add1.S 2002-05-14 15:11:08.000000000 +0200
  22. +++ libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-add1.S 2005-01-23 06:34:02.000000000 +0100
  23. @@ -39,6 +39,9 @@
  24. #include "sysdep.h"
  25. + .register %g2,#scratch
  26. + .register %g3,#scratch
  27. +
  28. .text
  29. .align 4
  30. .global C_SYMBOL_NAME(_gcry_mpih_add_n)
  31. diff -ur libgcrypt-1.2.1/mpi/sparc32/mpih-lshift.S libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-lshift.S
  32. --- libgcrypt-1.2.1/mpi/sparc32/mpih-lshift.S 2002-05-14 15:11:08.000000000 +0200
  33. +++ libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-lshift.S 2005-01-23 06:34:24.000000000 +0100
  34. @@ -29,6 +29,9 @@
  35. #include "sysdep.h"
  36. + .register %g2,#scratch
  37. + .register %g3,#scratch
  38. +
  39. .text
  40. .align 4
  41. .global C_SYMBOL_NAME(_gcry_mpih_lshift)
  42. diff -ur libgcrypt-1.2.1/mpi/sparc32/mpih-rshift.S libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-rshift.S
  43. --- libgcrypt-1.2.1/mpi/sparc32/mpih-rshift.S 2002-05-14 15:11:08.000000000 +0200
  44. +++ libgcrypt-1.2.1-fixed/mpi/sparc32/mpih-rshift.S 2005-01-23 06:36:43.000000000 +0100
  45. @@ -28,6 +28,9 @@
  46. #include "sysdep.h"
  47. + .register %g2,#scratch
  48. + .register %g3,#scratch
  49. +
  50. .text
  51. .align 4
  52. .global C_SYMBOL_NAME(_gcry_mpih_rshift)
  53. diff -ur libgcrypt-1.2.1/mpi/sparc32/udiv.S libgcrypt-1.2.1-fixed/mpi/sparc32/udiv.S
  54. --- libgcrypt-1.2.1/mpi/sparc32/udiv.S 2002-05-14 15:11:08.000000000 +0200
  55. +++ libgcrypt-1.2.1-fixed/mpi/sparc32/udiv.S 2005-01-23 06:36:59.000000000 +0100
  56. @@ -36,6 +36,9 @@
  57. #include "sysdep.h"
  58. + .register %g2,#scratch
  59. + .register %g3,#scratch
  60. +
  61. .text
  62. .align 4
  63. .global C_SYMBOL_NAME(__udiv_qrnnd)
  64. diff -ur libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul1.S libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul1.S
  65. --- libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul1.S 2002-05-14 15:11:08.000000000 +0200
  66. +++ libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul1.S 2005-01-23 06:32:51.000000000 +0100
  67. @@ -37,6 +37,9 @@
  68. #include "sysdep.h"
  69. + .register %g2,#scratch
  70. + .register %g3,#scratch
  71. +
  72. .text
  73. .align 8
  74. .global C_SYMBOL_NAME(_gcry_mpih_mul_1)
  75. diff -ur libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul2.S libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul2.S
  76. --- libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul2.S 2002-05-14 15:11:08.000000000 +0200
  77. +++ libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul2.S 2005-01-23 06:33:07.000000000 +0100
  78. @@ -37,6 +37,9 @@
  79. #include "sysdep.h"
  80. + .register %g2,#scratch
  81. + .register %g3,#scratch
  82. +
  83. .text
  84. .align 4
  85. .global C_SYMBOL_NAME(_gcry_mpih_addmul_1)
  86. diff -ur libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul3.S libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul3.S
  87. --- libgcrypt-1.2.1/mpi/sparc32v8/mpih-mul3.S 2002-05-14 15:11:08.000000000 +0200
  88. +++ libgcrypt-1.2.1-fixed/mpi/sparc32v8/mpih-mul3.S 2005-01-23 06:33:51.000000000 +0100
  89. @@ -36,6 +36,9 @@
  90. #include "sysdep.h"
  91. + .register %g2,#scratch
  92. + .register %g3,#scratch
  93. +
  94. .text
  95. .align 4
  96. .global C_SYMBOL_NAME(_gcry_mpih_submul_1)