This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Run tst-tls14 for TLS only.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Mon, 28 Jul 2003 17:10:33 +0200
- Subject: Re: PATCH: Run tst-tls14 for TLS only.
- References: <20030725194238.GA2620@lucon.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Jul 25, 2003 at 12:42:38PM -0700, H. J. Lu wrote:
> The default configure with linuxthreads disables TLS. This patch skips
> tst-tls14 if TLS isn't enabled.
>
>
> H.J.
> ----
> 2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
>
> * elf/tst-tls14.c: Include <tls.h>. Check USE_TLS.
> * elf/tst-tlsmod14a.c: Likewise.
>
> --- elf/tst-tls14.c.tls 2003-07-24 20:35:45.000000000 -0700
> +++ elf/tst-tls14.c 2003-07-25 12:38:04.000000000 -0700
> @@ -4,7 +4,9 @@
> #include <stdio.h>
> #include <stdlib.h>
>
> +#include <tls.h>
>
> +#ifdef USE_TLS
Should actualy be
#if defined USE_TLS && defined HAVE___THREAD
instead.
> --- elf/tst-tlsmod14a.c.tls 2003-07-24 12:58:08.000000000 -0700
> +++ elf/tst-tlsmod14a.c 2003-07-25 12:38:28.000000000 -0700
...
> +#ifdef USE_TLS
Likewise.
Jakub