From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759544AbYDJW6S (ORCPT ); Thu, 10 Apr 2008 18:58:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757355AbYDJW6J (ORCPT ); Thu, 10 Apr 2008 18:58:09 -0400 Received: from terminus.zytor.com ([198.137.202.10]:42629 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754605AbYDJW6J (ORCPT ); Thu, 10 Apr 2008 18:58:09 -0400 Message-ID: <47FE9B57.1040203@zytor.com> Date: Thu, 10 Apr 2008 15:57:27 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Yinghai Lu CC: Ingo Molnar , Alexander van Heukelum , Mike Travis , Thomas Gleixner , Andrew Morton , linux-kernel@vger.kernel.org, heukelum@fastmail.fm Subject: Re: [PATCH 1/2] boot: increase stack size for kernel boot loader decompressor -- payload_length References: <86802c440804101334j4b69373dv172ab72b072dc4a0@mail.gmail.com> <47FE7A6C.1070405@zytor.com> <86802c440804101415o55af93c8o8f4dc54dfad8662e@mail.gmail.com> <47FE8AB1.90506@zytor.com> <86802c440804101448n7fe5d04x315a30ba877774f4@mail.gmail.com> <47FE9158.6060404@zytor.com> <86802c440804101555w760f7c7fm212cbcff62946030@mail.gmail.com> In-Reply-To: <86802c440804101555w760f7c7fm212cbcff62946030@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yinghai Lu wrote: > > output_len in vmlinux.scr? > > bootloader will try to get that ? > No, the last four bytes of a gzip image is the uncompressed length. A bootloader which wants the uncompressed ELF file length (as opposed to the individual ELF segments) can get it that way. -hpa