summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/sigaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/sigaction.c')
-rw-r--r--libc/sysdeps/linux/i386/sigaction.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/sigaction.c b/libc/sysdeps/linux/i386/sigaction.c
index 77da69d5e..cf6daa787 100644
--- a/libc/sysdeps/linux/i386/sigaction.c
+++ b/libc/sysdeps/linux/i386/sigaction.c
@@ -115,6 +115,7 @@ libc_hidden_weak(sigaction)
/* The return code for realtime-signals. */
# define RESTORE2(name, syscall) \
__asm__ ( \
+ "nop\n" \
".text\n" \
"__" #name ":\n" \
" movl $" #syscall ", %eax\n" \
@@ -128,6 +129,7 @@ RESTORE(restore_rt, __NR_rt_sigreturn)
# undef RESTORE2
# define RESTORE2(name, syscall) \
__asm__ ( \
+ "nop\n" \
".text\n" \
"__" #name ":\n" \
" popl %eax\n" \