mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 00:22:48 +00:00
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:
parent
080ca1a51b
commit
d6582233c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219534
@ -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} " \
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user