summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2007-10-08 18:59:34 +0000
committermarius <marius@FreeBSD.org>2007-10-08 18:59:34 +0000
commit451b3404fce3fdd34fb76ddcdc59925fbd2d54b4 (patch)
tree62f5e8471bbe9f1d540a5e1bde52f440e22d657d /gnu/usr.bin/cc
parentd53c0afe54eaaf3fdd70929516dfa515ad0f851d (diff)
downloadFreeBSD-src-451b3404fce3fdd34fb76ddcdc59925fbd2d54b4.zip
FreeBSD-src-451b3404fce3fdd34fb76ddcdc59925fbd2d54b4.tar.gz
Disable TLS for arm and sparc64 here as binutils 2.15 predate GNU TLS
support for these. This is in line with gnu/lib/libgomp/config.h and gnu/lib/libstdc++/config.h. Reviewed by: cognet, obrien Approved by: re (kensmith)
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/cc_tools/auto-host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h
index 47dc49e..0ed3e97 100644
--- a/gnu/usr.bin/cc/cc_tools/auto-host.h
+++ b/gnu/usr.bin/cc/cc_tools/auto-host.h
@@ -289,8 +289,10 @@
/* Define if your assembler supports thread-local storage. */
#ifndef USED_FOR_TARGET
+#if !defined(__sparc64__) && !defined(__arm__)
#define HAVE_AS_TLS 1
#endif
+#endif
/* Define to 1 if you have the `atoll' function. */
OpenPOWER on IntegriCloud