From patchwork Fri Oct 17 22:41:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 3280 Received: (qmail 20784 invoked by alias); 17 Oct 2014 22:41:58 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 20772 invoked by uid 89); 17 Oct 2014 22:41:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] Remove obsolete TLS_DEFINE_INIT_TP fallback. Message-Id: <20141017224154.674A62C2452@topped-with-meat.com> Date: Fri, 17 Oct 2014 15:41:54 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=U-dAbwuZRJhtEMKWnVAA:9 a=CjuIK1q_8ugA:10 All the sysdeps/.../tls.h files have been updated, so these transitional definitions are dead now. Thanks, Roland * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed. --- a/nptl/createthread.c +++ b/nptl/createthread.c @@ -30,19 +30,6 @@ #define CLONE_SIGNAL (CLONE_SIGHAND | CLONE_THREAD) -/* The header should define the macro TLS_DEFINE_INIT_TP such that: - TLS_DEFINE_INIT_TP (VAR, PD); - Declares and initializes a variable VAR with the value that should - be passed to the OS thread creation function (e.g. clone) to initialize - its TLS state for the 'struct pthread *' PD. */ -#ifndef TLS_DEFINE_INIT_TP -/* For a transitional period while all the implementations are - getting updated, we define it using the old TLS_VALUE macro. */ -# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = TLS_VALUE -# ifndef TLS_VALUE -# define TLS_VALUE pd -# endif -#endif #ifndef ARCH_CLONE # define ARCH_CLONE __clone