This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] PPC64 vfork fix for insmod
- From: Steven Munroe <sjmunroe at us dot ibm dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 25 Feb 2003 15:13:12 -0600
- Subject: [PATCH] PPC64 vfork fix for insmod
- Organization: IBM Linux Developement
- Reply-to: sjmunroe at vnet dot ibm dot com
Resubmitted with correct changelog for linuxthreads.
2003-01-31 Steven Munroe <sjmunroe at us dot ibm dot com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S[SHARED]:
Generate __libc_pthread_functions TOC entry.
--
Steven Munroe
sjmunroe at us dot ibm dot com
Linux on PowerPC-64 Development
GLIBC for PowerPC-64 Development
diff -urN libc23-cvstip-20030221/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S libc23/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
--- libc23-cvstip-20030221/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S 2003-02-14 18:39:19.000000000 -0600
+++ libc23/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S 2003-02-25 10:02:19.000000000 -0600
@@ -26,11 +26,13 @@
replaced by a call to `execve'. Return -1 for errors, 0 to the new process,
and the process ID of the new process to the old process. */
+#ifdef SHARED
.section ".toc","aw"
.LC0:
.tc __libc_pthread_functions[TC],__libc_pthread_functions
.section ".text"
.align 2
+#endif
ENTRY (__vfork)