diff options
Diffstat (limited to 'gcc/config/sparc/sol2-gas.h')
-rw-r--r-- | gcc/config/sparc/sol2-gas.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/sparc/sol2-gas.h b/gcc/config/sparc/sol2-gas.h index 7e808f7acaf..942e39de8a4 100644 --- a/gcc/config/sparc/sol2-gas.h +++ b/gcc/config/sparc/sol2-gas.h @@ -3,3 +3,11 @@ /* Undefine this so that BNSYM/ENSYM pairs are emitted by STABS+. */ #undef NO_DBX_BNSYM_ENSYM + +/* Use GNU extensions to TLS support. */ +#ifdef HAVE_AS_TLS +#undef TARGET_SUN_TLS +#undef TARGET_GNU_TLS +#define TARGET_SUN_TLS 0 +#define TARGET_GNU_TLS 1 +#endif |