OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64652c2
)
Guard the use of sigreturn as in x86_64, thx blindvt
author
Peter S. Mazinger
<ps.m@gmx.net>
Wed, 25 Jan 2006 21:00:40 +0000
(21:00 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Wed, 25 Jan 2006 21:00:40 +0000
(21:00 -0000)
libc/sysdeps/linux/i386/sigaction.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/i386/sigaction.c
b/libc/sysdeps/linux/i386/sigaction.c
index
c38a307
..
8d7ba21
100644
(file)
--- a/
libc/sysdeps/linux/i386/sigaction.c
+++ b/
libc/sysdeps/linux/i386/sigaction.c
@@
-155,6
+155,7
@@
__asm__ \
RESTORE (restore_rt, __NR_rt_sigreturn)
#endif
+#ifdef __NR_sigreturn
/* For the boring old signals. */
# undef RESTORE2
# define RESTORE2(name, syscall) \
@@
-169,3
+170,4
@@
__asm__ \
);
RESTORE (restore, __NR_sigreturn)
+#endif