Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 2009 08:20:33 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        svn-src-stable@FreeBSD.org, svn-src-all@FreeBSD.org, Marcel Moolenaar <marcel@FreeBSD.org>, 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...
Message-ID:  <0997BA81-4982-467A-AB0B-7A1233B82665@mac.com>
In-Reply-To: <20090816220319.W32412@delplex.bde.org>
References:  <200908160221.n7G2LOE2097585@svn.freebsd.org> <20090816220319.W32412@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0997BA81-4982-467A-AB0B-7A1233B82665>