From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 31 Oct 2010 00:02:04 +0200 Subject: [U-Boot] Trying to understand ARM926EJS/start.S In-Reply-To: <4CCC949A.2030208@free.fr> References: <4CCC5F4D.20405@emk-elektronik.de> <4CCC69E4.8090103@free.fr> <20101030192116.77E561522C0@gemini.denx.de> <4CCC949A.2030208@free.fr> Message-ID: <4CCC95DC.4080207@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 30/10/2010 23:56, Albert ARIBAUD a ?crit : > after the loop is > done, I think "adr r0, _start" will still give us the source start > address but _TEXT_BASE will contain the target start address -- though > at this time of the evening I'd want to be careful about that. Scratch that. After the loop, the _TEXT_BASE of the target location will contain the target _start, but the _TEXt_BASE of relocate_code() will keep on containing the source _start. Really time I went to sleep. Apologies, -- Albert.