From 1f3775a463d192c6dfefebf88a9c7ba923be8db8 Mon Sep 17 00:00:00 2001 From: marius Date: Sat, 23 Jun 2012 18:43:11 +0000 Subject: [PATCH] MFC: r231620, r237098 Enable TLS support for ARM toolchain git-svn-id: svn://svn.freebsd.org/base/stable/9@237492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- gnu/lib/libgomp/config.h | 2 +- gnu/lib/libstdc++/config.h | 2 +- gnu/usr.bin/cc/cc_tools/auto-host.h | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gnu/lib/libgomp/config.h b/gnu/lib/libgomp/config.h index c56d8601c..6ef541be7 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 a4afbdbec..7955ab62a 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 a6ce739b3..5d6ddc012 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. */ -- 2.45.0