From owner-freebsd-current Tue Jun 24 01:47:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA03637 for current-outgoing; Tue, 24 Jun 1997 01:47:30 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA03629 for ; Tue, 24 Jun 1997 01:47:26 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id SAA13026; Tue, 24 Jun 1997 18:40:49 +1000 Date: Tue, 24 Jun 1997 18:40:49 +1000 From: Bruce Evans Message-Id: <199706240840.SAA13026@godzilla.zeta.org.au> To: charnier@xp11.frmug.org, current@FreeBSD.ORG Subject: Re: boot2 is too big Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >===> 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