This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: some 2.0.112 results


>The Sparc build is still running.  I'll report back when it completes.

It died with an undefined reference to __NR_vfork (I'm using kernel 2.1.130
on that machine at the moment).  I made the following change.  Does it look 
reasonable?

p.

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.

--- libc/sysdeps/sysv/linux/sparc/sparc64/vfork.S~	Sat Jan 30 14:31:08 1999
+++ libc/sysdeps/sysv/linux/sparc/sparc64/vfork.S	Sun Jan 31 00:34:48 1999
@@ -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
--- libc/sysdeps/sysv/linux/sparc/sparc32/vfork.S~	Sat Jan 30 14:31:08 1999
+++ libc/sysdeps/sysv/linux/sparc/sparc32/vfork.S	Sun Jan 31 00:30:38 1999
@@ -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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]