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.

115 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/.../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 ---
  16. Instrumented the sparc assembly to compile for sparc64 with recent binutils
  17. versions ... The check does bus-error, though. But it does with generic C
  18. code, too. So it is more likely some other problem ...
  19. (Cross review libgcrypt/sparc64.patch while performing changes.)
  20. - Rene Rebe <rene@exactcode.de>
  21. diff -ur gnupg-1.2.6/mpi/sparc32/mpih-add1.S gnupg-1.2.6-fixed/mpi/sparc32/mpih-add1.S
  22. --- gnupg-1.2.6/mpi/sparc32/mpih-add1.S 2002-06-29 16:14:10.000000000 +0200
  23. +++ gnupg-1.2.6-fixed/mpi/sparc32/mpih-add1.S 2005-01-23 07:23:35.000000000 +0100
  24. @@ -39,6 +39,9 @@
  25. #include "sysdep.h"
  26. + .register %g2,#scratch
  27. + .register %g3,#scratch
  28. +
  29. .text
  30. .align 4
  31. .global C_SYMBOL_NAME(mpihelp_add_n)
  32. diff -ur gnupg-1.2.6/mpi/sparc32/mpih-lshift.S gnupg-1.2.6-fixed/mpi/sparc32/mpih-lshift.S
  33. --- gnupg-1.2.6/mpi/sparc32/mpih-lshift.S 2002-06-29 16:14:10.000000000 +0200
  34. +++ gnupg-1.2.6-fixed/mpi/sparc32/mpih-lshift.S 2005-01-23 07:23:46.000000000 +0100
  35. @@ -29,6 +29,9 @@
  36. #include "sysdep.h"
  37. + .register %g2,#scratch
  38. + .register %g3,#scratch
  39. +
  40. .text
  41. .align 4
  42. .global C_SYMBOL_NAME(mpihelp_lshift)
  43. diff -ur gnupg-1.2.6/mpi/sparc32/mpih-rshift.S gnupg-1.2.6-fixed/mpi/sparc32/mpih-rshift.S
  44. --- gnupg-1.2.6/mpi/sparc32/mpih-rshift.S 2002-06-29 16:14:10.000000000 +0200
  45. +++ gnupg-1.2.6-fixed/mpi/sparc32/mpih-rshift.S 2005-01-23 07:23:59.000000000 +0100
  46. @@ -28,6 +28,9 @@
  47. #include "sysdep.h"
  48. + .register %g2,#scratch
  49. + .register %g3,#scratch
  50. +
  51. .text
  52. .align 4
  53. .global C_SYMBOL_NAME(mpihelp_rshift)
  54. diff -ur gnupg-1.2.6/mpi/sparc32/udiv.S gnupg-1.2.6-fixed/mpi/sparc32/udiv.S
  55. --- gnupg-1.2.6/mpi/sparc32/udiv.S 2002-06-29 16:14:10.000000000 +0200
  56. +++ gnupg-1.2.6-fixed/mpi/sparc32/udiv.S 2005-01-23 07:24:16.000000000 +0100
  57. @@ -38,6 +38,9 @@
  58. #include "sysdep.h"
  59. + .register %g2,#scratch
  60. + .register %g3,#scratch
  61. +
  62. .text
  63. .align 4
  64. .global C_SYMBOL_NAME(__udiv_qrnnd)
  65. diff -ur gnupg-1.2.6/mpi/sparc32v8/mpih-mul1.S gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul1.S
  66. --- gnupg-1.2.6/mpi/sparc32v8/mpih-mul1.S 2002-06-29 16:14:10.000000000 +0200
  67. +++ gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul1.S 2005-01-23 07:22:22.000000000 +0100
  68. @@ -39,6 +39,9 @@
  69. #include "sysdep.h"
  70. + .register %g2,#scratch
  71. + .register %g3,#scratch
  72. +
  73. .text
  74. .align 8
  75. .global C_SYMBOL_NAME(mpihelp_mul_1)
  76. diff -ur gnupg-1.2.6/mpi/sparc32v8/mpih-mul2.S gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul2.S
  77. --- gnupg-1.2.6/mpi/sparc32v8/mpih-mul2.S 2002-06-29 16:14:10.000000000 +0200
  78. +++ gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul2.S 2005-01-23 07:22:46.000000000 +0100
  79. @@ -39,6 +39,9 @@
  80. #include "sysdep.h"
  81. + .register %g2,#scratch
  82. + .register %g3,#scratch
  83. +
  84. .text
  85. .align 4
  86. .global C_SYMBOL_NAME(mpihelp_addmul_1)
  87. diff -ur gnupg-1.2.6/mpi/sparc32v8/mpih-mul3.S gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul3.S
  88. --- gnupg-1.2.6/mpi/sparc32v8/mpih-mul3.S 2002-06-29 16:14:10.000000000 +0200
  89. +++ gnupg-1.2.6-fixed/mpi/sparc32v8/mpih-mul3.S 2005-01-23 07:22:59.000000000 +0100
  90. @@ -38,6 +38,9 @@
  91. #include "sysdep.h"
  92. + .register %g2,#scratch
  93. + .register %g3,#scratch
  94. +
  95. .text
  96. .align 4
  97. .global C_SYMBOL_NAME(mpihelp_submul_1)