From owner-svn-src-all@FreeBSD.ORG Sun Aug 16 15:20:35 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 28C6E106568D; Sun, 16 Aug 2009 15:20:35 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 0C5CC8FC4D; Sun, 16 Aug 2009 15:20:34 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Received: from macbook-pro.lan.xcllnt.net ([75.101.29.67]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KOH0091R6M9IJ90@asmtp029.mac.com>; Sun, 16 Aug 2009 08:20:34 -0700 (PDT) From: Marcel Moolenaar In-reply-to: <20090816220319.W32412@delplex.bde.org> Date: Sun, 16 Aug 2009 08:20:33 -0700 Message-id: <0997BA81-4982-467A-AB0B-7A1233B82665@mac.com> References: <200908160221.n7G2LOE2097585@svn.freebsd.org> <20090816220319.W32412@delplex.bde.org> To: Bruce Evans X-Mailer: Apple Mail (2.1074) Cc: svn-src-stable@FreeBSD.org, svn-src-all@FreeBSD.org, Marcel Moolenaar , svn-src-stable-8@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r196271 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris cddl/contrib/opensolaris/common/nvpair contrib/dev/acpica contrib/pf dev/ata dev/cxgb dev/xen/netfront dev/xen/xe... 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: Sun, 16 Aug 2009 15:20:35 -0000 On Aug 16, 2009, at 5:34 AM, Bruce Evans wrote: > On Sun, 16 Aug 2009, Marcel Moolenaar wrote: > >> MFC revision 196269: >> Fix misalignment in nvpair_native_embedded() caused by the compiler >> replacing the bzero(). > > How can it replace bzero() with -ffreestanding, which implies - > fbuiltin > and guarantees that should be stronger not to use library functions? > (gcc.info is poorly worded, so the stronger guarantees are actually > weaker.) -ffreestanding applies to the kernel only. This code is shared between kernel and userspace and the misalignment is in userspace. -- Marcel Moolenaar xcllnt@mac.com