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.

74 lines
2.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dietlibc/powerpc64-2.patch.disabled
  5. # Copyright (C) 2010 The OpenSDE Project
  6. # Copyright (C) 2005 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. With leading dots I get unresolved symbols ...
  18. - Rene Rebe <rene@exactcode.de>
  19. diff -ur dietlibc-0.29/ppc64/__longjmp.S dietlibc-0.29-fixed/ppc64/__longjmp.S
  20. --- dietlibc-0.29/ppc64/__longjmp.S 2005-12-08 11:49:28.000000000 +0100
  21. +++ dietlibc-0.29-fixed/ppc64/__longjmp.S 2005-12-08 11:48:51.000000000 +0100
  22. @@ -1,12 +1,12 @@
  23. #include <setjmp.h>
  24. - .quad .__longjmp,.TOC.@tocbase,0
  25. + .quad __longjmp,.TOC.@tocbase,0
  26. .text
  27. .size __longjmp,24
  28. - .type .__longjmp,@function
  29. - .globl .__longjmp
  30. + .type __longjmp,@function
  31. + .globl __longjmp
  32. .align 2
  33. -.__longjmp:
  34. +__longjmp:
  35. ld 1,(JB_GPR1*8)(3)
  36. ld 2,(JB_GPR2*8)(3)
  37. ld 0,(JB_LR*8)(3)
  38. @@ -51,4 +51,4 @@
  39. lfd 31,((JB_FPRS+17)*8)(3)
  40. mr 3,4
  41. blr
  42. -.size .__longjmp,.-.__longjmp
  43. +.size __longjmp,.-__longjmp
  44. diff -ur dietlibc-0.29/ppc64/setjmp.S dietlibc-0.29-fixed/ppc64/setjmp.S
  45. --- dietlibc-0.29/ppc64/setjmp.S 2005-12-08 11:49:28.000000000 +0100
  46. +++ dietlibc-0.29-fixed/ppc64/setjmp.S 2005-12-08 11:52:14.000000000 +0100
  47. @@ -6,13 +6,13 @@
  48. #define JUMPTARGET(name) .name
  49. #endif
  50. - .quad .__sigsetjmp,.TOC.@tocbase,0
  51. + .quad __sigsetjmp,.TOC.@tocbase,0
  52. .text
  53. .size __sigsetjmp,24
  54. - .type .__sigsetjmp,@function
  55. - .globl .__sigsetjmp
  56. + .type __sigsetjmp,@function
  57. + .globl __sigsetjmp
  58. .align 2
  59. -.__sigsetjmp:
  60. +__sigsetjmp:
  61. std 1,(JB_GPR1*8)(3)
  62. mflr 0
  63. std 2,(JB_GPR2*8)(3)
  64. @@ -56,4 +56,4 @@
  65. std 31,((JB_GPRS+17)*8)(3)
  66. stfd 31,((JB_FPRS+17)*8)(3)
  67. b JUMPTARGET (__sigjmp_save)
  68. -.size .__sigsetjmp,.-.__sigsetjmp
  69. +.size __sigsetjmp,.-__sigsetjmp