]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply a few small optimizations to boot2's code, to make it shrink a
authordim <dim@FreeBSD.org>
Tue, 15 Feb 2011 20:18:52 +0000 (20:18 +0000)
committerdim <dim@FreeBSD.org>
Tue, 15 Feb 2011 20:18:52 +0000 (20:18 +0000)
commitf94cf905fb258e0de23e22179042ea6c7ab028a7
tree37d9c6ad8b2d3269033675c39ec26971fb6e358f
parentfd358eea37448bed8de4728001309e0b63427039
Apply a few small optimizations to boot2's code, to make it shrink a
little further.  This gets us further on the way to be able to build it
successfully with clang.  Using in-tree gcc, this shrinks boot2.bin with
60 bytes, the in-tree clang shaves off 72 bytes, and ToT clang 84 bytes.

Submitted by: rdivacky
Reviewed by: imp
sys/boot/common/ufsread.c
sys/boot/i386/boot2/boot2.c