From owner-svn-src-all@FreeBSD.ORG  Fri Oct 21 13:21:38 2011
Return-Path: <owner-svn-src-all@FreeBSD.ORG>
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 601EC106564A;
	Fri, 21 Oct 2011 13:21:38 +0000 (UTC) (envelope-from jhb@freebsd.org)
Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42])
	by mx1.freebsd.org (Postfix) with ESMTP id 1EFA48FC13;
	Fri, 21 Oct 2011 13:21:38 +0000 (UTC)
Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net
	[66.111.2.69])
	by cyrus.watson.org (Postfix) with ESMTPSA id 8E74046B23;
	Fri, 21 Oct 2011 09:21:35 -0400 (EDT)
Received: from jhbbsd.localnet (unknown [209.249.190.124])
	by bigwig.baldwin.cx (Postfix) with ESMTPSA id E59DE8A069;
	Fri, 21 Oct 2011 08:22:43 -0400 (EDT)
From: John Baldwin <jhb@freebsd.org>
To: Kostik Belousov <kostikbel@gmail.com>
Date: Fri, 21 Oct 2011 08:22:42 -0400
User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110617; KDE/4.5.5; amd64; ; )
References: <201110210640.p9L6eaeC010594@svn.freebsd.org>
	<20111021081201.GH50300@deviant.kiev.zoral.com.ua>
In-Reply-To: <20111021081201.GH50300@deviant.kiev.zoral.com.ua>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <201110210822.42227.jhb@freebsd.org>
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6
	(bigwig.baldwin.cx); Fri, 21 Oct 2011 08:22:44 -0400 (EDT)
Cc: svn-src-head@freebsd.org, David Schultz <das@freebsd.org>,
	src-committers@freebsd.org, svn-src-all@freebsd.org
Subject: Re: svn commit: r226606 - in head/lib/libc: amd64 amd64/gen arm
	arm/gen gen i386 i386/gen ia64 ia64/gen mips mips/gen powerpc
	powerpc/gen powerpc64 powerpc64/gen sparc64 sparc64/gen
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 &quot;
	user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
	<mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all>
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
	<mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Oct 2011 13:21:38 -0000

On Friday, October 21, 2011 4:12:01 am Kostik Belousov wrote:
> On Fri, Oct 21, 2011 at 06:40:36AM +0000, David Schultz wrote:
> > Author: das
> > Date: Fri Oct 21 06:40:36 2011
> > New Revision: 226606
> > URL: http://svn.freebsd.org/changeset/base/226606
> > 
> > Log:
> >   Replace a proliferation of buggy MD implementations of modf() with a
> >   working MI one.  The MI one only needs to be overridden on machines
> >   with non-IEEE754 arithmetic.  (The last supported one was the VAX.)
> >   It can also be overridden if someone comes up with a faster one that
> >   actually passes the regression tests -- but this is harder than it sounds.
> > 
> > Added:
> >   head/lib/libc/gen/modf.c
> >      - copied, changed from r226410, head/lib/msun/src/s_modf.c
> > Deleted:
> >   head/lib/libc/amd64/gen/modf.S
> >   head/lib/libc/arm/gen/modf.c
> >   head/lib/libc/i386/gen/modf.S
> >   head/lib/libc/ia64/gen/modf.c
> >   head/lib/libc/mips/gen/modf.S
> >   head/lib/libc/mips/gen/modf.c
> >   head/lib/libc/powerpc/gen/modf.c
> >   head/lib/libc/powerpc64/gen/modf.c
> >   head/lib/libc/sparc64/gen/modf.S
> > Modified:
> >   head/lib/libc/amd64/Symbol.map
> >   head/lib/libc/amd64/gen/Makefile.inc
> >   head/lib/libc/arm/Symbol.map
> >   head/lib/libc/arm/gen/Makefile.inc
> >   head/lib/libc/gen/Makefile.inc
> >   head/lib/libc/gen/Symbol.map
> >   head/lib/libc/i386/Symbol.map
> >   head/lib/libc/i386/gen/Makefile.inc
> >   head/lib/libc/ia64/Symbol.map
> >   head/lib/libc/ia64/gen/Makefile.inc
> >   head/lib/libc/mips/Symbol.map
> >   head/lib/libc/mips/gen/Makefile.inc
> >   head/lib/libc/powerpc/Symbol.map
> >   head/lib/libc/powerpc/gen/Makefile.inc
> >   head/lib/libc/powerpc64/Symbol.map
> >   head/lib/libc/powerpc64/gen/Makefile.inc
> >   head/lib/libc/sparc64/Symbol.map
> >   head/lib/libc/sparc64/gen/Makefile.inc
> > 
> > Modified: head/lib/libc/amd64/Symbol.map
> > ==============================================================================
> > --- head/lib/libc/amd64/Symbol.map	Fri Oct 21 06:36:40 2011	(r226605)
> > +++ head/lib/libc/amd64/Symbol.map	Fri Oct 21 06:40:36 2011	(r226606)
> > @@ -26,7 +26,6 @@ FBSD_1.0 {
> >  	__infinity;
> >  	__nan;
> >  	makecontext;
> > -	modf;
> >  	rfork_thread;
> >  	setjmp;
> >  	longjmp;
> You cannot do this, you just completely broke the ABI.
> The symbols must not be removed from the versioned library.

He just moved it to the MI Symbol.map, he didn't remove it:

Modified: head/lib/libc/gen/Symbol.map
==============================================================================
--- head/lib/libc/gen/Symbol.map        Fri Oct 21 06:36:40 2011        (r226605)
+++ head/lib/libc/gen/Symbol.map        Fri Oct 21 06:40:36 2011        (r226606)
@@ -213,6 +213,7 @@ FBSD_1.0 {
        ldexp;
        lockf;
        lrand48;
+       modf;
        mrand48;
        nftw;
        nice;


-- 
John Baldwin