OSDN Git Service

add jmpbuf-unwind.h and jmpbuf-offsets.h to avr32,c6x and xtensa
[uclinux-h8/uClibc.git] / 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
9         .text
10
11         .global __sigsetjmp
12         .type   __sigsetjmp,"function"
13
14         .align  1
15 __sigsetjmp:
16         mustr   r8
17         stm     r12, r0,r1,r2,r3,r4,r5,r6,r7,r8,sp,lr
18
19         /*
20          * Make a tail call to __sigjmp_save; it takes the same args
21          * and is hidden so we don't need to mess around with the GOT.
22          */
23         rjmp    __sigjmp_save
24         .size   __sigsetjmp, . - __sigsetjmp
25
26 libc_hidden_def(__sigsetjmp)