Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 18:40:49 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        charnier@xp11.frmug.org, current@FreeBSD.ORG
Subject:   Re: boot2 is too big
Message-ID:  <199706240840.SAA13026@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>===> sys/i386/boot/biosboot
>[...]
>cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486  
> -DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 
> -I/usr/src/sys/i386/boot/biosboot/../../.. -Wreturn-type -Wcomment 
> -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes 
> -Wmissing-prototypes  -Wpointer-arith -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 
> -DBOOT_HD_BIAS=1    -N -T 0 -nostdlib -static -o boot start.o table.o boot2.o
>  boot.o asm.o bios.o serial.o probe_keyboard.o io.o disk.o sys.o
>...
>size boot.strip
>text    data    bss dec hex
>7616    96  49052   56764   ddbc     
>...
>boot2 is too big

The BOOT_HD_BIAS options makes it too big.  In fact, almost any
nonstandard option would make it too big.  You have to remove a
standard option, DO_BAD144 perhaps, to get it to fit.

I will remove the BOOT_HD_BIAS option soon.  Use boot.config
instead.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706240840.SAA13026>