From a8efe9e273c6b4d909a0dc5fa058d54587bdf52a Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Mon, 8 Oct 2007 18:59:34 +0000 Subject: [PATCH] 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) --- gnu/usr.bin/cc/cc_tools/auto-host.h | 2 ++ 1 file changed, 2 insertions(+) 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. */