diff options
author | Roland McGrath <roland@gnu.org> | 1995-10-31 06:54:40 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-10-31 06:54:40 +0000 |
commit | 3bbceb1287e3df7eb75e7a9852278d4eb9d33a00 (patch) | |
tree | cef98b77c775cad088031317d8df8dc772324524 /sysdeps/unix | |
parent | 3e2ee7271dff697194c7761ca0c5836de486b36f (diff) | |
download | glibc-3bbceb1287e3df7eb75e7a9852278d4eb9d33a00.tar glibc-3bbceb1287e3df7eb75e7a9852278d4eb9d33a00.tar.gz glibc-3bbceb1287e3df7eb75e7a9852278d4eb9d33a00.tar.bz2 glibc-3bbceb1287e3df7eb75e7a9852278d4eb9d33a00.zip |
Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951031
* sysdeps/mach/hurd/group_member.c: New file.
* sysdeps/generic/group_member.c: New file.
* Makerules (lib-noranlib): Don't depend on $(install-lib).
(others): Do.
* extra-lib.mk: Fix test of $(lib)-no-lib-dep.
Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Rules (others): Depend on $(extra-objs).
* posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
* posix/Makefile (routines): Add group_member.
* sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
SIG operand in asm so it must be a register.
Add dead return to quiet gcc warning.
* Makerules (sysd-rules): Write a defn for sysd-rules-done.
[! sysd-rules-done]: Inhibit deps.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sigaction.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c index 64c8f9a404..58e637eed5 100644 --- a/sysdeps/unix/sysv/linux/i386/sigaction.c +++ b/sysdeps/unix/sysv/linux/i386/sigaction.c @@ -44,7 +44,7 @@ __sigaction (int sig, const struct sigaction *act, struct sigaction *oact) "int $0x80\n" "popl %%ebx" : "=a" (result) - : "0" (SYS_ify (sigaction)), "g" (sig), "c" (act), "d" (oact)); + : "0" (SYS_ify (sigaction)), "r" (sig), "c" (act), "d" (oact)); if (result < 0) { @@ -75,6 +75,7 @@ __sigaction (int sig, const struct sigaction *act, struct sigaction *oact) " popf\n" " ret" : : ); + restore_nomask: asm (" addl $4, %%esp\n" " popl %%eax\n" @@ -83,7 +84,9 @@ __sigaction (int sig, const struct sigaction *act, struct sigaction *oact) " popf\n" " ret" : : ); + /* NOTREACHED */ + return -1; } weak_alias (__sigaction, sigaction) |