]>
Commit | Line | Data |
---|---|---|
a334319f | 1 | /* Copyright (C) 2001 Free Software Foundation, Inc. |
847b055c | 2 | Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com). |
ffeac417 | 3 | This file is part of the GNU C Library. |
847b055c AJ |
4 | |
5 | The GNU C Library is free software; you can redistribute it and/or | |
41bdb6e2 AJ |
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. | |
847b055c AJ |
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 | |
41bdb6e2 | 13 | Lesser General Public License for more details. |
847b055c | 14 | |
41bdb6e2 AJ |
15 | You should have received a copy of the GNU Lesser General Public |
16 | License along with the GNU C Library; if not, write to the Free | |
17 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | |
18 | 02111-1307 USA. */ | |
847b055c | 19 | |
ffeac417 UD |
20 | #ifndef _ASM |
21 | #define _ASM | |
22 | #endif | |
23 | ||
24 | #include <sysdep.h> | |
25 | #include <bits/setjmp.h> | |
26 | ||
27 | /* Save the current program position in ENV and return 0. */ | |
28 | /* R2 = pointer to jmp_buf, R3 = savemask. */ | |
29 | ||
30 | ENTRY(__sigsetjmp) | |
31 | stmg %r6,%r15,0(%r2) /* Store registers in jmp_buf. */ | |
32 | std %f1,80(%r2) | |
33 | std %f3,88(%r2) | |
34 | std %f5,96(%r2) | |
35 | std %f7,104(%r2) | |
a334319f | 36 | #ifdef PIC |
ffeac417 UD |
37 | jg __sigjmp_save@PLT /* Tail-call __sigjmp_save. */ |
38 | #else | |
39 | jg __sigjmp_save /* Tail-call __sigjmp_save. */ | |
847b055c | 40 | #endif |
ffeac417 | 41 | END (__sigsetjmp) |
a334319f UD |
42 | |
43 |