From owner-freebsd-current@FreeBSD.ORG Fri Nov 21 13:02:33 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A451B724 for ; Fri, 21 Nov 2014 13:02:33 +0000 (UTC) Received: from vlakno.cz (mail.vlakno.cz [91.217.96.224]) by mx1.freebsd.org (Postfix) with ESMTP id 6B6DCD57 for ; Fri, 21 Nov 2014 13:02:32 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id AA0541D7ED7D; Fri, 21 Nov 2014 13:56:32 +0100 (CET) Date: Fri, 21 Nov 2014 13:56:32 +0100 From: Roman Divacky To: current@freebsd.org Subject: [PATCH]: further shrinking of boot2 Message-ID: <20141121125632.GA23706@vlakno.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailman-Approved-At: Fri, 21 Nov 2014 13:05:11 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 13:02:33 -0000 Hi all! In an effort to help import clang3.5 I looked at squeezing a few more bytes from boot2. http://rys.vlakno.cz/~rdivacky/boot2.diet.patch Please test and review the patch. It survived my qemu boot attempt so it's not completely broken. But I would like to have some more testing and review comments before I move forward with this. Fwiw, it shrinks boot2 by 16 bytes when compiled with clang34 and by 28 bytes when compiled with clang35. Thanks! Roman