From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16756 invoked by alias); 15 Jun 2016 15:23:52 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 16734 invoked by uid 89); 15 Jun 2016 15:23:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Date: Wed, 15 Jun 2016 15:23:00 -0000 From: Gary Benson To: Pedro Alves Cc: libc-alpha@sourceware.org Subject: Re: [RFC v2][PATCH 10/27] Add Infinity THREAD_SELF macros to sysdeps/mips/nptl/tls.h Message-ID: <20160615152338.GA28509@blade.nx> References: <1465814311-31470-1-git-send-email-gbenson@redhat.com> <1465814311-31470-11-git-send-email-gbenson@redhat.com> <4fdeebf6-4ccc-fa96-6b85-4bd25d32739c@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4fdeebf6-4ccc-fa96-6b85-4bd25d32739c@redhat.com> X-SW-Source: 2016-06/txt/msg00595.txt.bz2 Pedro Alves wrote: > On 06/13/2016 11:38 AM, Gary Benson wrote: > > +/* Magic for Infinity to know how to do THREAD_SELF. */ > > +# define I8_THREAD_SELF I8_TS_CONST_THREAD_AREA > > +# define I8_TS_CTA_VALUE TLS_TCB_OFFSET + TLS_PRE_TCB_SIZE > > + > > Wrap in parentheses to avoid precedence problems creeping in > in future: > > # define I8_TS_CTA_VALUE (TLS_TCB_OFFSET + TLS_PRE_TCB_SIZE) > > etc. > > More instances throughout the series. Thanks Pedro, I've updated my tree. Cheers, Gary -- http://gbenson.net/