aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2007-10-08 18:59:34 +0000
committerMarius Strobl <marius@FreeBSD.org>2007-10-08 18:59:34 +0000
commita8efe9e273c6b4d909a0dc5fa058d54587bdf52a (patch)
tree62f5e8471bbe9f1d540a5e1bde52f440e22d657d
parentb8c50480253bb89806d4f4b7a1b5104c0403801b (diff)
downloadsrc-a8efe9e273c6b4d909a0dc5fa058d54587bdf52a.tar.gz
src-a8efe9e273c6b4d909a0dc5fa058d54587bdf52a.zip
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)
Notes
Notes: svn path=/head/; revision=172473
-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 47dc49e0bc87..0ed3e972c58f 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. */