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...

Marcel Moolenaar xcllnt at mac.com
Sun Aug 16 15:20:35 UTC 2009


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 at mac.com





More information about the svn-src-stable mailing list