[PATCH] PPC64 vfork fix for insmod
Steven Munroe
sjmunroe@us.ibm.com
Tue Feb 25 21:37:00 GMT 2003
Resubmitted with correct changelog for linuxthreads.
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S[SHARED]:
Generate __libc_pthread_functions TOC entry.
--
Steven Munroe
sjmunroe@us.ibm.com
Linux on PowerPC-64 Development
GLIBC for PowerPC-64 Development
-------------- next part --------------
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)
More information about the Libc-alpha
mailing list