From owner-svn-src-all@FreeBSD.ORG Fri Mar 11 21:24:02 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1642106564A; Fri, 11 Mar 2011 21:24:02 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 93D5B8FC08; Fri, 11 Mar 2011 21:24:02 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p2BLO21L094077; Fri, 11 Mar 2011 21:24:02 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p2BLO2EV094072; Fri, 11 Mar 2011 21:24:02 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201103112124.p2BLO2EV094072@svn.freebsd.org> From: Marius Strobl Date: Fri, 11 Mar 2011 21:24:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219534 - in head: contrib/gcc/config/sparc gnu/lib/libgomp gnu/lib/libstdc++ gnu/usr.bin/cc/cc_tools X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2011 21:24:02 -0000 Author: marius Date: Fri Mar 11 21:24:02 2011 New Revision: 219534 URL: http://svn.freebsd.org/changeset/base/219534 Log: Now that TLS is supported for sparc64 by both binutils 2.17.50 committed in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC. Modified: head/contrib/gcc/config/sparc/freebsd.h head/gnu/lib/libgomp/config.h head/gnu/lib/libstdc++/config.h head/gnu/usr.bin/cc/cc_tools/auto-host.h Modified: head/contrib/gcc/config/sparc/freebsd.h ============================================================================== --- head/contrib/gcc/config/sparc/freebsd.h Fri Mar 11 21:08:02 2011 (r219533) +++ head/contrib/gcc/config/sparc/freebsd.h Fri Mar 11 21:24:02 2011 (r219534) @@ -161,6 +161,13 @@ Boston, MA 02110-1301, USA. */ /* #define DWARF_OFFSET_SIZE PTR_SIZE */ +#ifdef HAVE_AS_TLS +#undef TARGET_SUN_TLS +#undef TARGET_GNU_TLS +#define TARGET_SUN_TLS 0 +#define TARGET_GNU_TLS 1 +#endif + #undef ENDFILE_SPEC #define ENDFILE_SPEC \ "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \ Modified: head/gnu/lib/libgomp/config.h ============================================================================== --- head/gnu/lib/libgomp/config.h Fri Mar 11 21:08:02 2011 (r219533) +++ head/gnu/lib/libgomp/config.h Fri Mar 11 21:24:02 2011 (r219534) @@ -59,7 +59,7 @@ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if the target supports thread-local storage. */ -#if !defined(__sparc64__) && !defined(__arm__) && !defined(__mips__) +#if !defined(__arm__) && !defined(__mips__) #define HAVE_TLS 1 #endif Modified: head/gnu/lib/libstdc++/config.h ============================================================================== --- head/gnu/lib/libstdc++/config.h Fri Mar 11 21:08:02 2011 (r219533) +++ head/gnu/lib/libstdc++/config.h Fri Mar 11 21:24:02 2011 (r219534) @@ -371,7 +371,7 @@ /* #undef HAVE_TANL */ /* Define to 1 if the target supports thread-local storage. */ -#if !defined(__sparc64__) && !defined(__arm__) && !defined(__mips__) +#if !defined(__arm__) && !defined(__mips__) #define HAVE_TLS 1 #endif Modified: head/gnu/usr.bin/cc/cc_tools/auto-host.h ============================================================================== --- head/gnu/usr.bin/cc/cc_tools/auto-host.h Fri Mar 11 21:08:02 2011 (r219533) +++ head/gnu/usr.bin/cc/cc_tools/auto-host.h Fri Mar 11 21:24:02 2011 (r219534) @@ -287,7 +287,7 @@ /* Define if your assembler supports thread-local storage. */ #ifndef USED_FOR_TARGET -#if !defined(__sparc64__) && !defined(__arm__) +#if !defined(__arm__) #define HAVE_AS_TLS 1 #endif #endif