archaic/useless CFLAGS options for x86 boot blocks

Andriy Gapon avg at
Mon Sep 12 12:34:45 UTC 2011

on 12/09/2011 15:26 John Baldwin said the following:
> On Monday, September 12, 2011 8:02:30 am Andriy Gapon wrote:
>>> I think the patch is
>>> fine, and I'd even prefer to go ahead and drop the extra cruft (like removing
>>> nops and aligns as well as -mrtd and -mregparm) from the UFS boot2 as well.
>> I personally agree, thank you for this suggestion.
>> My current plan is to leave boot2 alone until stable/9 is branched, but to try to
>> get zfs/gpt boot changes into 9.0.  What do you think?
> I think this is fine.

Another thing that was suggested to me via private communication is to change -Os
to -O1 for those "non-constrained" boot blocks.  I do not see anything wrong with

Andriy Gapon

More information about the freebsd-fs mailing list