mips64: time64 for n32 ABI breaks a lot of tests, disable it for now
[uclibc-ng.git] / libc / sysdeps / linux / arc / sigrestorer.S
blob60d35ab3ec15161f62c2de4f9ed2c52ed80fb757
1 /*
2  * Copyright (C) 2017-2022 Synopsys, Inc. (www.synopsys.com)
3  *
4  * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
5  */
7 #include <sysdep.h>
9 /*
10  * Default sigretrun stub if user doesn't specify SA_RESTORER.
11  */
13 .section .text
14 .align 4
15 .global __default_rt_sa_restorer
16 .type __default_rt_sa_restorer, @function
18 ; This "nop" is needed here, because debugger would assume that this function
19 ; called the signal handler, therefore it cannot start on the "mov"
20 ; instruction, at which execution will jump to.
21         nop
22 __default_rt_sa_restorer:
23         mov r8, __NR_rt_sigreturn
24         ARC_TRAP_INSN
25         j_s     [blink]