aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2011-03-11 21:24:02 +0000
committerMarius Strobl <marius@FreeBSD.org>2011-03-11 21:24:02 +0000
commitd6582233c1b8e3327ae781a1037dce671d7c7758 (patch)
tree449de25d9399dc123f2183b2e204b768f1b6a305 /contrib/gcc
parent080ca1a51b723223386b013c00d06d7cb4dbf100 (diff)
downloadsrc-d6582233c1b8e3327ae781a1037dce671d7c7758.tar.gz
src-d6582233c1b8e3327ae781a1037dce671d7c7758.zip
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.
Notes
Notes: svn path=/head/; revision=219534
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 bb93ea132824..31bfd36b5f61 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} " \