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.

73 lines
2.2 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
  5. # Copyright (C) 2005 - 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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. With leading dots I get unresolved symbols ...
  17. - Rene Rebe <rene@exactcode.de>
  18. diff -ur dietlibc-0.29/ppc64/__longjmp.S dietlibc-0.29-fixed/ppc64/__longjmp.S
  19. --- dietlibc-0.29/ppc64/__longjmp.S 2005-12-08 11:49:28.000000000 +0100
  20. +++ dietlibc-0.29-fixed/ppc64/__longjmp.S 2005-12-08 11:48:51.000000000 +0100
  21. @@ -1,12 +1,12 @@
  22. #include <setjmp.h>
  23. - .quad .__longjmp,.TOC.@tocbase,0
  24. + .quad __longjmp,.TOC.@tocbase,0
  25. .text
  26. .size __longjmp,24
  27. - .type .__longjmp,@function
  28. - .globl .__longjmp
  29. + .type __longjmp,@function
  30. + .globl __longjmp
  31. .align 2
  32. -.__longjmp:
  33. +__longjmp:
  34. ld 1,(JB_GPR1*8)(3)
  35. ld 2,(JB_GPR2*8)(3)
  36. ld 0,(JB_LR*8)(3)
  37. @@ -51,4 +51,4 @@
  38. lfd 31,((JB_FPRS+17)*8)(3)
  39. mr 3,4
  40. blr
  41. -.size .__longjmp,.-.__longjmp
  42. +.size __longjmp,.-__longjmp
  43. diff -ur dietlibc-0.29/ppc64/setjmp.S dietlibc-0.29-fixed/ppc64/setjmp.S
  44. --- dietlibc-0.29/ppc64/setjmp.S 2005-12-08 11:49:28.000000000 +0100
  45. +++ dietlibc-0.29-fixed/ppc64/setjmp.S 2005-12-08 11:52:14.000000000 +0100
  46. @@ -6,13 +6,13 @@
  47. #define JUMPTARGET(name) .name
  48. #endif
  49. - .quad .__sigsetjmp,.TOC.@tocbase,0
  50. + .quad __sigsetjmp,.TOC.@tocbase,0
  51. .text
  52. .size __sigsetjmp,24
  53. - .type .__sigsetjmp,@function
  54. - .globl .__sigsetjmp
  55. + .type __sigsetjmp,@function
  56. + .globl __sigsetjmp
  57. .align 2
  58. -.__sigsetjmp:
  59. +__sigsetjmp:
  60. std 1,(JB_GPR1*8)(3)
  61. mflr 0
  62. std 2,(JB_GPR2*8)(3)
  63. @@ -56,4 +56,4 @@
  64. std 31,((JB_GPRS+17)*8)(3)
  65. stfd 31,((JB_FPRS+17)*8)(3)
  66. b JUMPTARGET (__sigjmp_save)
  67. -.size .__sigsetjmp,.-.__sigsetjmp
  68. +.size __sigsetjmp,.-__sigsetjmp