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