From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Sat, 17 Aug 2013 14:57:51 +0100 Subject: Start symbol for an compressed kernel In-Reply-To: References: <20130817134832.GJ23006@n2100.arm.linux.org.uk> Message-ID: <20130817135751.GL23006@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sat, Aug 17, 2013 at 09:56:14PM +0800, zhaobin xv wrote: > 2013/8/17 Russell King - ARM Linux : > > On Sat, Aug 17, 2013 at 07:39:46PM +0800, zhaobin xv wrote: > >> how to find Start symbol for an compressed kernel for arm > > > > The start address of a compressed kernel is the first byte of the image. > > > > Symbolically, that is 'start', which is a non-global symbol. However, > > this symbol is useless since it normally is zero, because the entire > > image is relocatable and therefore built for address zero. > > > > However, it is normal to load the image not at address zero. > > why do U define ENTRY(_start)? > Is _start the Start symbol? > how to explain _start There is no _start symbol in the compressed kernel.