]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/avr32/setjmp.S
Inital import
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / avr32 / setjmp.S
1 /*
2  * Copyright (C) 2004-2007 Atmel Corporation
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License.  See the file "COPYING.LIB" in the main directory of this
6  * archive for more details.
7  */
8 #define _SETJMP_H
9 #define _ASM
10 #include <bits/setjmp.h>
11
12         .text
13
14         .global __sigsetjmp
15         .type   __sigsetjmp,"function"
16
17         .align  1
18 __sigsetjmp:
19         mustr   r8
20         stm     r12, r0,r1,r2,r3,r4,r5,r6,r7,r8,sp,lr
21
22         /*
23          * Make a tail call to __sigjmp_save; it takes the same args
24          * and is hidden so we don't need to mess around with the GOT.
25          */
26         rjmp    __sigjmp_save
27         .size   __sigsetjmp, . - __sigsetjmp
28
29 libc_hidden_def(__sigsetjmp)