From owner-freebsd-mips@FreeBSD.ORG Fri Mar 11 21:40:47 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC8CD106564A for ; Fri, 11 Mar 2011 21:40:46 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 4A8B18FC12 for ; Fri, 11 Mar 2011 21:40:45 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p2BLS4Yk056634 for ; Fri, 11 Mar 2011 22:28:04 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p2BLS4H5056633 for mips@freebsd.org; Fri, 11 Mar 2011 22:28:04 +0100 (CET) (envelope-from marius) Date: Fri, 11 Mar 2011 22:28:04 +0100 From: Marius Strobl To: mips@freebsd.org Message-ID: <20110311212804.GC1606@alchemy.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: [marius@freebsd.org: svn commit: r219534 - in head: contrib/gcc/config/sparc gnu/lib/libgomp gnu/lib/libstdc++ gnu/usr.bin/cc/cc_tools] X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2011 21:40:47 -0000 FYI, if you look at the blow diff you'll notice an inconsistency in auto-host.h for mips, which seems incorrect as at least rtld(1) apparently doesn't support TLS for mips. ----- Forwarded message from Marius Strobl ----- Delivered-To: svn-src-all@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 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: , Errors-To: owner-svn-src-all@freebsd.org 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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" ----- End forwarded message -----