From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5816 invoked by alias); 26 Apr 2003 18:47:25 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 5756 invoked from network); 26 Apr 2003 18:47:25 -0000 Received: from unknown (HELO mout2.freenet.de) (194.97.50.155) by sources.redhat.com with SMTP; 26 Apr 2003 18:47:25 -0000 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout2.freenet.de with asmtp (Exim 4.15) id 199Uhp-0007my-54 for libc-hacker@sources.redhat.com; Sat, 26 Apr 2003 20:47:25 +0200 Received: from b01a1.pppool.de ([213.7.1.161] helo=whitebox.local) by mx2.freenet.de with esmtp (Exim 4.14 #2) id 199Uho-0003C6-Gh for libc-hacker@sources.redhat.com; Sat, 26 Apr 2003 20:47:24 +0200 Received: from whitebox.local (localhost [127.0.0.1]) by whitebox.local (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id h3QIkBPY027073 for ; Sat, 26 Apr 2003 20:46:11 +0200 Received: (from andreas@localhost) by whitebox.local (8.12.7/8.12.7/Submit) id h3QIkBHX027070; Sat, 26 Apr 2003 20:46:11 +0200 X-Authentication-Warning: whitebox.local: andreas set sender to schwab@suse.de using -f To: libc-hacker@sources.redhat.com Subject: TLS_MULTIPLE_THREADS_IN_TCB build fix X-Yow: I wish I was on a Cincinnati street corner holding a clean dog! From: Andreas Schwab Date: Sat, 26 Apr 2003 18:47:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg00065.txt.bz2 This fixes building on ppc with TLS. Andreas. 2003-04-26 Andreas Schwab * 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