summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-03-11 21:24:02 +0000
committermarius <marius@FreeBSD.org>2011-03-11 21:24:02 +0000
commitdd7c472938dc931d72a5cc8a83df77c70f38c102 (patch)
tree449de25d9399dc123f2183b2e204b768f1b6a305 /contrib/gcc
parent4573cb452015e22ff8ee6b21bd21e0eb2d3bdd11 (diff)
downloadFreeBSD-src-dd7c472938dc931d72a5cc8a83df77c70f38c102.zip
FreeBSD-src-dd7c472938dc931d72a5cc8a83df77c70f38c102.tar.gz
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.
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/sparc/freebsd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/gcc/config/sparc/freebsd.h b/contrib/gcc/config/sparc/freebsd.h
index bb93ea1..31bfd36 100644
--- a/contrib/gcc/config/sparc/freebsd.h
+++ b/contrib/gcc/config/sparc/freebsd.h
@@ -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} " \
OpenPOWER on IntegriCloud