bits/stat.h: Declare st_mtim if defined(__USE_XOPEN2K8), everywhere
[uclibc-ng.git] / libc / sysdeps / linux / arc / bsd-_setjmp.S
blobd166cb8cafeaa1d0ec86117e5469e9b32b7225b3
1 /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'.  ARC version.
2  *
3  * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
4  *
5  * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
6  */
8 /* This just does a tail-call to `__sigsetjmp (ARG, 1)'.
9    We cannot do it in C because it must be a tail-call, so frame-unwinding
10    in setjmp doesn't clobber the state restored by longjmp.  */
12 #include <sysdep.h>
14 ;@ r0 = jump buffer into which regs will be saved
16 ENTRY(_setjmp)
17         b.d     __sigsetjmp
18         mov     r1, 0           ; don't save signals
19 END(_setjmp)
20 libc_hidden_def(_setjmp)