This is the mail archive of the libc-alpha@sources.redhat.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]
Other format: [Raw text]

[PATCH] PPC64 vfork fix for insmod


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)
 

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