Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754978AbZLUS32 (ORCPT ); Mon, 21 Dec 2009 13:29:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751037AbZLUS31 (ORCPT ); Mon, 21 Dec 2009 13:29:27 -0500 Received: from terminus.zytor.com ([198.137.202.10]:54555 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750702AbZLUS30 (ORCPT ); Mon, 21 Dec 2009 13:29:26 -0500 Message-ID: <4B2FBE69.3080408@zytor.com> Date: Mon, 21 Dec 2009 10:28:57 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4 MIME-Version: 1.0 To: Sam Ravnborg CC: Michael Tokarev , Michal Marek , Michael Guntsche , Oliver Hartkopp , linux-kernel Subject: Re: [PATCH] kbuild: correct size calculation of bzImgae / fix x86 boot References: <20091219233457.GA4288@trillian.comsick.at> <20091220084656.GA485@merkur.ravnborg.org> <20091220091138.GA1793@trillian.comsick.at> <20091220100344.GA6614@merkur.ravnborg.org> <4B2E084D.6080105@msgid.tls.msk.ru> <20091220141156.GA3744@merkur.ravnborg.org> In-Reply-To: <20091220141156.GA3744@merkur.ravnborg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 27 On 12/20/2009 06:11 AM, Sam Ravnborg wrote: > > The whole business using shell scripts to append the size seems broken. > How about moving this functionality to mkpiggy where we are > less shell script dependent. > Seems a helluva lot saner to me... > It includes the length also in the gzip case - I dunno if that matters. > Also I dunno if ".long" is the same on 32 and 64 bit. Well, gzip already has a length at the end... shouldn't really hurt anything, I suppose. ".long" is 32 bits on both 32 and 64 bits. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/