From: Roland McGrath Date: Thu, 22 Aug 2002 23:47:28 +0000 (+0000) Subject: * sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT] X-Git-Tag: cvs/glibc-2-3~404 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ddcb7da59246325024dd6c2c26c307e289eff56;p=thirdparty%2Fglibc.git * sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT] conditional. (INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA. (DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE macro. That chooses whether to reuse %gs value or let kernel set it. [USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1. [!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is not constant 0. --- diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 0b8f07b4c2a..9c89ba48274 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,14 @@ +2002-08-22 Roland McGrath + + * sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT] + conditional. + (INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA. + (DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE + macro. That chooses whether to reuse %gs value or let kernel set it. + [USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1. + [!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is + not constant 0. + 2002-08-21 Ulrich Drepper * sysdeps/i386/tls.h (TLS_SETUP_GS_SEGMENT): Add new parameter