Now that TLS is supported for sparc64 by both binutils 2.17.50 committed

in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC.
This commit is contained in:
Marius Strobl 2011-03-11 21:24:02 +00:00
parent 080ca1a51b
commit d6582233c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219534
4 changed files with 10 additions and 3 deletions

View File

@ -161,6 +161,13 @@ Boston, MA 02110-1301, USA. */
/* #define DWARF_OFFSET_SIZE PTR_SIZE */
#ifdef HAVE_AS_TLS
#undef TARGET_SUN_TLS
#undef TARGET_GNU_TLS
#define TARGET_SUN_TLS 0
#define TARGET_GNU_TLS 1
#endif
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
"%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \

View File

@ -59,7 +59,7 @@
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if the target supports thread-local storage. */
#if !defined(__sparc64__) && !defined(__arm__) && !defined(__mips__)
#if !defined(__arm__) && !defined(__mips__)
#define HAVE_TLS 1
#endif

View File

@ -371,7 +371,7 @@
/* #undef HAVE_TANL */
/* Define to 1 if the target supports thread-local storage. */
#if !defined(__sparc64__) && !defined(__arm__) && !defined(__mips__)
#if !defined(__arm__) && !defined(__mips__)
#define HAVE_TLS 1
#endif

View File

@ -287,7 +287,7 @@
/* Define if your assembler supports thread-local storage. */
#ifndef USED_FOR_TARGET
#if !defined(__sparc64__) && !defined(__arm__)
#if !defined(__arm__)
#define HAVE_AS_TLS 1
#endif
#endif