Hi Filip,
> diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
> index fd406f36c8a..8393308f476 100644
> --- a/gcc/config/sparc/sparc.h
> +++ b/gcc/config/sparc/sparc.h
> @@ -1622,7 +1622,11 @@ extern int sparc_indent_opcode;
>
> /* TLS support defaults to GNU extensions. The original Sun flavor must be
> activated in separate configuration files. */
> -#define TARGET_TLS HAVE_AS_TLS
> +#ifdef HAVE_AS_TLS
> +#define TARGET_TLS 1
> +#else
> +#define TARGET_TLS 0
> +#endif
I'd do this differently, following many other targets:
#ifndef HAVE_AS_TLS
#define HAVE_AS_TLS 0
#endif
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University