Re: latest merged ppc 32/64 NPTL port

Steven Munroe <[email protected]>
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
I compiled your latest merge for PPC64 and hit a few problems. PPC64 
also uses TLS_MULTIPLE_THREADS_IN_TCB so I removed the #ifndef 
__powerpc64__.
ppc64-tls-nptl-20030317.patch (text/plain, 625 B)
diff -urN nptl-ppc-29/nptl/sysdeps/powerpc/tls.h libc23/nptl/sysdeps/powerpc/tls.h
--- nptl-ppc-29/nptl/sysdeps/powerpc/tls.h	2003-03-17 14:18:11.000000000 -0600
+++ libc23/nptl/sysdeps/powerpc/tls.h	2003-03-17 13:54:28.000000000 -0600
@@ -54,10 +54,8 @@
 /* The TP points to the start of the thread blocks.  */
 # define TLS_DTV_AT_TP 1
 
-/* For 32-bit, we use the multiple_threads field in the pthread struct */
-#ifndef __powerpc64__
+/* We use the multiple_threads field in the pthread struct */
 #define TLS_MULTIPLE_THREADS_IN_TCB    1
-#endif
 
 /* Get the thread descriptor definition.  */
 # include <nptl/descr.h>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.