This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

TLS_MULTIPLE_THREADS_IN_TCB build fix


This fixes building on ppc with TLS.

Andreas.

2003-04-26  Andreas Schwab  <schwab at suse dot de>

	* pthread.c (__pthread_initialize_manager): Fix use of
	p_multiple_threads.

--- linuxthreads/pthread.c.~1.124.~	2003-04-26 18:45:06.000000000 +0200
+++ linuxthreads/pthread.c	2003-04-26 20:32:09.000000000 +0200
@@ -622,7 +622,7 @@ int __pthread_initialize_manager(void)
   mgr->p_header.data.self = mgr;
   mgr->p_header.data.multiple_threads = 1;
 #elif TLS_MULTIPLE_THREADS_IN_TCB
-  p_multiple_threads (mgr) = 1;
+  mgr->p_multiple_threads = 1;
 #endif
   mgr->p_lock = &__pthread_handles[1].h_lock;
 # ifndef HAVE___THREAD


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