This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix IA-32 TLS IE and LE models
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: roland at redhat dot com, drepper at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 8 Aug 2002 10:06:33 -0700
- Subject: Re: [PATCH] Fix IA-32 TLS IE and LE models
- References: <20020808182655.B18963@sunsite.ms.mff.cuni.cz>
On Thu, Aug 08, 2002 at 06:26:55PM +0200, Jakub Jelinek wrote:
> - tp = gen_rtx_CONST (Pmode, tp);
> + tp = gen_rtx_MEM (Pmode, tp);
> + RTX_UNCHANGING_P (tp) = 1;
Do
set_mem_alias_set (new, ix86_GOT_alias_set ());
as well.
> +/* { dg-do link } */
> +/* { dg-options "-O2 -ftls-model=initial-exec" } */
> +/* { dg-options "-O2 -ftls-model=initial-exec -march=i686" { target i?86-*-* } } */
> +
> +extern __thread int thr;
Link? Where does thr get defined?
r~