From: Roland McGrath Date: Fri, 17 Oct 2014 22:40:36 +0000 (-0700) Subject: Remove obsolete TLS_DEFINE_INIT_TP fallback. X-Git-Tag: glibc-2.21~488 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=114c4e0954b6a9f1d8ed83850ef106a041495037;p=glibc.git Remove obsolete TLS_DEFINE_INIT_TP fallback. --- diff --git a/ChangeLog b/ChangeLog index 78c2d9606f..4886efa026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-10-17 Roland McGrath + * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed. + * sysdeps/i386/nptl/tls.h (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed. [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): diff --git a/nptl/createthread.c b/nptl/createthread.c index 9eaf2ce9c3..0980a7748b 100644 --- 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