2 * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
4 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
8 #include <sys/syscall.h>
11 * Provide a real sigreturn stub to avoid kernel synthesizing one
12 * on user stack at runtime, which needs PTE permissions update
13 * (hence TLB entry update) and costly cache line flushes for
17 ENTRY(__default_rt_sa_restorer)
18 mov r8, __NR_rt_sigreturn
20 END(__default_rt_sa_restorer)
21 libc_hidden_def(__default_rt_sa_restorer)