cvs commit: src/sys/boot/alpha Makefile.inc src/sys/boot/ficl Makefile

Doug Rabson dfr at nlsystems.com
Sun Aug 22 01:40:05 PDT 2004


On Sunday 22 August 2004 07:24, Marcel Moolenaar wrote:
> marcel      2004-08-22 06:24:59 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/boot/alpha       Makefile.inc
>     sys/boot/ficl        Makefile
>   Log:
>   Part 2 of fixing the boot code: gcc 3.4 fixes.
>
>   The whole problem seems to be size. Which is odd, because it is
> said that size doesn't matter. Anyway... Add -Os to strategic places
> in the makefile to have the final loader be as mall as possible. This
> seems to be enough to make it work. For now... I think something is
> more fundamentally wrong; or something more fundamental is wrong.
> Potato, potaato.

Size does matter for the alpha loader. The firmware gives it 256k of 
address space which we overflowed many years ago. I extended it in 
sys/boot/alpha/common/main.c:extend_heap() by adding 512k to the 
loader's mapped address space. It might be necessary to extend it a bit 
further.


More information about the cvs-src mailing list