From owner-cvs-all Sat May 11 14:55:58 2002 Delivered-To: cvs-all@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 33F1F37B406; Sat, 11 May 2002 14:55:53 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g4BLtr450009; Sat, 11 May 2002 14:55:53 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id DD26039FB; Sat, 11 May 2002 14:55:52 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot2.c In-Reply-To: <200205112149.g4BLnd747786@freefall.freebsd.org> Date: Sat, 11 May 2002 14:55:52 -0700 From: Peter Wemm Message-Id: <20020511215552.DD26039FB@overcee.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm wrote: > peter 2002/05/11 14:49:39 PDT > > Modified files: > sys/boot/i386/boot2 boot2.c > Log: > Save about 60 bytes by #define memcpy __builtin_memcpy and removing > the function we provided. Restore the Keyboard: yes/no printf for the > probe diagnostics. We end up with 40 bytes free. 40 bytes is also what the align stripping did. If there is a problem with the sed stuff, commenting out that Makefile hack and just using the __builtin_memcpy stuff leaves us with zero free but an otherwise normal boot2.o build. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message