From owner-svn-src-all@FreeBSD.ORG Mon Dec 21 22:03:59 2009 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 16AEF106566C; Mon, 21 Dec 2009 22:03:59 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id BA7388FC16; Mon, 21 Dec 2009 22:03:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C8D2A9CB0E6; Mon, 21 Dec 2009 23:01:42 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pzzu8DKIpKgR; Mon, 21 Dec 2009 23:01:40 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 214AA9CB1B0; Mon, 21 Dec 2009 23:01:40 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id nBLM1d6N084486; Mon, 21 Dec 2009 23:01:39 +0100 (CET) (envelope-from rdivacky) Date: Mon, 21 Dec 2009 23:01:39 +0100 From: Roman Divacky To: Marius Strobl Message-ID: <20091221220139.GA84109@freebsd.org> References: <200912211943.nBLJhNUU038425@svn.freebsd.org> <200912211459.21766.jhb@freebsd.org> <20091221220004.GA42400@alchemy.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091221220004.GA42400@alchemy.franken.de> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin Subject: Re: svn commit: r200797 - head/lib/libc/stdtime 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: Mon, 21 Dec 2009 22:03:59 -0000 On Mon, Dec 21, 2009 at 11:00:04PM +0100, Marius Strobl wrote: > On Mon, Dec 21, 2009 at 02:59:21PM -0500, John Baldwin wrote: > > On Monday 21 December 2009 2:43:23 pm John Baldwin wrote: > > > Author: jhb > > > Date: Mon Dec 21 19:43:23 2009 > > > New Revision: 200797 > > > URL: http://svn.freebsd.org/changeset/base/200797 > > > > > > Log: > > > Use _once() to initialize the pthread key for thread-local storage to hold > > > the results of localtime() instead of using a pthread mutex directly. > > > > It would probably be simpler to use TLS for this instead, but I'm not sure if > > we have working TLS on all supported platforms. > > > > At least not on arm and sparc64 as the in-tree binutils predate > GNU TLS support for these. pardon my ignorance but what exactly is needed in binutils to support TLS? is it just (g)as? or ld too?