2 * Copyright (C) 2017-2022 Synopsys, Inc. (www.synopsys.com)
4 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
10 * Default sigretrun stub if user doesn't specify SA_RESTORER.
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.
22 __default_rt_sa_restorer:
23 mov r8, __NR_rt_sigreturn