On 2011-Sep-11 11:31:54 +0300, Andriy Gapon <a...@freebsd.org> wrote:
>And I am actually wondering about -fno-unit-at-a-time option.
>In my opinion this is an anti-optimization option and it can actually increase
>a size of a final binary.  In fact, it looks like the option was introduced to
>boot2 in r132870 in the year 2004, way before GCC 4.X switch, and it was
>introduced to avoid some optimizations that produced broken code.
>I wonder if there is any reason to keep using that option now.

In any case, size isn't an issue for any of gptboot, gptzfsboot or
zfsboot (unlike boot2).  For that matter, why do we need both
gptboot and gptzfsboot?  It would be more convenient to have a
single GPT bootstrap that handled both UFS & ZFS.

-- 
Peter Jeremy

Attachment: pgp6XqTUV4Wxt.pgp
Description: PGP signature

Reply via email to