[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: latest merged ppc 32/64 NPTL port



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__.
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>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]