This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Run tst-tls14 for TLS only.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]