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
xcl...@mac.com



_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to