aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-30 17:38:29 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-30 17:38:29 +0000
commit28fd0f23c1393fa430121199f3f38598eaf9d1dd (patch)
tree6ab63097fd2226bda9d6cf0a8d8df51b31e6db82 /sysdeps
parent3ea10b0b529c49ad18249734ff7cb6ec04754bb5 (diff)
downloadglibc-28fd0f23c1393fa430121199f3f38598eaf9d1dd.zip
glibc-28fd0f23c1393fa430121199f3f38598eaf9d1dd.tar.gz
glibc-28fd0f23c1393fa430121199f3f38598eaf9d1dd.tar.bz2
Update.
1999-01-31 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel doesn't have vfork, resort to using fork. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S4
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S4
2 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S b/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
index 898230c..feed06f 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S
@@ -19,7 +19,11 @@
#include <sysdep.h>
+#ifdef __NR_vfork
PSEUDO (__vfork, vfork, 0)
+#else
+PSEUDO (__vfork, fork, 0)
+#endif
sub %o1, 1, %o1
retl
and %o0, %o1, %o0
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S b/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S
index 898230c..feed06f 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S
@@ -19,7 +19,11 @@
#include <sysdep.h>
+#ifdef __NR_vfork
PSEUDO (__vfork, vfork, 0)
+#else
+PSEUDO (__vfork, fork, 0)
+#endif
sub %o1, 1, %o1
retl
and %o0, %o1, %o0