aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2012-06-23 18:43:11 +0000
committerMarius Strobl <marius@FreeBSD.org>2012-06-23 18:43:11 +0000
commit662da500f45b52ffddbf72a3c9050e3ff1ec5638 (patch)
treea4b8072ba29418cc2dae77fe04db79a0ea157584 /gnu
parent5c8593e57e596b9648a97e3506f471a554a95665 (diff)
MFC: r231620, r237098
Enable TLS support for ARM toolchain
Notes
svn path=/stable/9/; revision=237492
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgomp/config.h2
-rw-r--r--gnu/lib/libstdc++/config.h2
-rw-r--r--gnu/usr.bin/cc/cc_tools/auto-host.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/gnu/lib/libgomp/config.h b/gnu/lib/libgomp/config.h
index c56d8601c20d..6ef541be733a 100644
--- a/gnu/lib/libgomp/config.h
+++ b/gnu/lib/libgomp/config.h
@@ -59,7 +59,7 @@
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if the target supports thread-local storage. */
-#if !defined(__arm__) && !defined(__mips__)
+#if !defined(__mips__)
#define HAVE_TLS 1
#endif
diff --git a/gnu/lib/libstdc++/config.h b/gnu/lib/libstdc++/config.h
index a4afbdbec30a..7955ab62a60d 100644
--- a/gnu/lib/libstdc++/config.h
+++ b/gnu/lib/libstdc++/config.h
@@ -371,7 +371,7 @@
/* #undef HAVE_TANL */
/* Define to 1 if the target supports thread-local storage. */
-#if !defined(__arm__) && !defined(__mips__)
+#if !defined(__mips__)
#define HAVE_TLS 1
#endif
diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h
index a6ce739b36fe..5d6ddc01205e 100644
--- a/gnu/usr.bin/cc/cc_tools/auto-host.h
+++ b/gnu/usr.bin/cc/cc_tools/auto-host.h
@@ -287,10 +287,8 @@
/* Define if your assembler supports thread-local storage. */
#ifndef USED_FOR_TARGET
-#if !defined(__arm__)
#define HAVE_AS_TLS 1
#endif
-#endif
/* Define to 1 if you have the `atoll' function. */