From owner-svn-src-head@FreeBSD.ORG Mon Jan 16 18:34:28 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C279B1065672; Mon, 16 Jan 2012 18:34:28 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6AA0A8FC15; Mon, 16 Jan 2012 18:34:28 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.5/8.14.2) with ESMTP id q0GIYRjP086440; Mon, 16 Jan 2012 13:34:27 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.5/8.14.2/Submit) id q0GIYR8p086439; Mon, 16 Jan 2012 13:34:27 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Mon, 16 Jan 2012 13:34:27 -0500 From: David Schultz To: Kostik Belousov Message-ID: <20120116183427.GA86151@zim.MIT.EDU> Mail-Followup-To: Kostik Belousov , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201201160408.q0G48UrQ014730@svn.freebsd.org> <20120116041143.GA82129@zim.MIT.EDU> <20120116083836.GD31224@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120116083836.GD31224@deviant.kiev.zoral.com.ua> Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG Subject: Re: svn commit: r230191 - in head: lib/libc/arm/gen sys/arm/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2012 18:34:28 -0000 On Mon, Jan 16, 2012, Kostik Belousov wrote: > On Sun, Jan 15, 2012 at 11:11:43PM -0500, David Schultz wrote: > > On Mon, Jan 16, 2012, David Schultz wrote: > > > Author: das > > > Date: Mon Jan 16 04:08:29 2012 > > > New Revision: 230191 > > > URL: http://svn.freebsd.org/changeset/base/230191 > > > > > > Log: > > > Implement FLT_ROUNDS for arm. Some (all?) arm FPUs lack support for > > > dynamic rounding modes, but FPUless chips that use softfloat can support it > > > because everything is emulated anyway. (We presently have incomplete > > > support for hardware FPUs.) > > > > > > Submitted by: Ian Lepore > > > > Incidentally, all of gcc's hooks into softfloat should probably be in > > the public symbol namespace instead of FBSDprivate. The compiler generates > > references to them, so we cannot claim that they are internal, unsupported > > interfaces. I assume that moving them will not break the ABI because > > FreeBSDprivate includes FBSD_X, but I haven't tested this. Any objections > > to moving them? Affects arm and mips. > > Move will break the ABI. Namespace inheritance is ignored when searching > the symbol match. > > On the other hand. FBSDprivate_1.0 is explicitely created to be changed, > so removal of the symbols from this namespace if fine from the POV of > the project policy. > > Another argument is that both MIPS and ARM are the second-tier architectures, > and again, project policy allows ABI breakage. Right; it was more a question of whether it would cause anyone undue inconvenience. Actually, before we call them officially supported, another question is why all of the symbols related to floating-point emulation are coming from libc and not libgcc.