Message ID | 52409BA9.2030509@linaro.org |
---|---|
State | Accepted |
Headers | show |
Hi! On Mon, 23 Sep 2013 20:51:05 +0100, Will Newton <will.newton@linaro.org> wrote: > This define was removed from the rest of the tree eight years ago. > * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove > macro. The same macro definition also exists in ports/sysdeps/arm/nptl/tls.h, which I suggest you remove at the same time. With that added, please push. This had been filed on <http://www.gnu.org/software/hurd/open_issues/glibc/t/tls.html>, which I'll update later. Grüße, Thomas
On 24 September 2013 09:17, Thomas Schwinge <thomas@codesourcery.com> wrote: > Hi! > > On Mon, 23 Sep 2013 20:51:05 +0100, Will Newton <will.newton@linaro.org> wrote: >> This define was removed from the rest of the tree eight years ago. > >> * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove >> macro. > > The same macro definition also exists in ports/sysdeps/arm/nptl/tls.h, > which I suggest you remove at the same time. With that added, please > push. This had been filed on > <http://www.gnu.org/software/hurd/open_issues/glibc/t/tls.html>, which > I'll update later. Thanks, I've already submitted a patch for that to libc-ports. I guess it's another case where sending all the patches to one list would make more sense. The patches are both applied now.
OK
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h index 4f4c7c5..da8c16a 100644 --- a/sysdeps/mach/hurd/i386/tls.h +++ b/sysdeps/mach/hurd/i386/tls.h @@ -118,7 +118,6 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall) operation can cause a failure 'errno' must not be touched. */ # define TLS_INIT_TP(descr, secondcall) \ _hurd_tls_init ((tcbhead_t *) (descr), (secondcall)) -# define TLS_INIT_TP_EXPENSIVE 1 /* Return the TCB address of the current thread. */ # define THREAD_SELF \