setjmp.S 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* setjmp for HPPA.
  2. Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
  3. This file is part of the GNU C Library.
  4. The GNU C Library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Lesser General Public
  6. License as published by the Free Software Foundation; either
  7. version 2.1 of the License, or (at your option) any later version.
  8. The GNU C Library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public
  13. License along with the GNU C Library; if not, see
  14. <http://www.gnu.org/licenses/>. */
  15. .text
  16. .align 4
  17. .import __sigjmp_save, code
  18. .globl __sigsetjmp
  19. .export __sigsetjmp, code
  20. .proc
  21. .callinfo
  22. __sigsetjmp:
  23. stw %r3, 0(%r26)
  24. stw %r4, 8(%r26)
  25. stw %r5, 12(%r26)
  26. stw %r6, 16(%r26)
  27. stw %r7, 20(%r26)
  28. stw %r8, 24(%r26)
  29. stw %r9, 28(%r26)
  30. stw %r10, 32(%r26)
  31. stw %r11, 36(%r26)
  32. stw %r12, 40(%r26)
  33. stw %r13, 44(%r26)
  34. stw %r14, 48(%r26)
  35. stw %r15, 52(%r26)
  36. stw %r16, 56(%r26)
  37. stw %r17, 60(%r26)
  38. stw %r18, 64(%r26)
  39. stw %r19, 68(%r26)
  40. stw %r27, 72(%r26)
  41. stw %r30, 76(%r26)
  42. stw %rp, 80(%r26)
  43. ldo 88(%r26),%r1
  44. fstds,ma %fr12, 8(%r1) /* 88 */
  45. fstds,ma %fr13, 8(%r1) /* 96 */
  46. fstds,ma %fr14, 8(%r1) /* 104 */
  47. fstds,ma %fr15, 8(%r1) /* 112 */
  48. fstds,ma %fr16, 8(%r1) /* 120 */
  49. fstds,ma %fr17, 8(%r1) /* 128 */
  50. fstds,ma %fr18, 8(%r1) /* 136 */
  51. fstds,ma %fr19, 8(%r1) /* 144 */
  52. fstds,ma %fr20, 8(%r1) /* 152 */
  53. fstds %fr21, 0(%r1) /* 160 */
  54. b __sigjmp_save
  55. nop
  56. .procend