From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 15 May 2013 10:30:00 +0200 Subject: [U-Boot] [PATCH v2 4/4] arm: factorize relocate_code routine In-Reply-To: <20130515093137.5c31a529@lilith> References: <1368223012-17609-1-git-send-email-albert.u.boot@aribaud.net> <1368525030-5162-1-git-send-email-albert.u.boot@aribaud.net> <1368525030-5162-2-git-send-email-albert.u.boot@aribaud.net> <1368525030-5162-3-git-send-email-albert.u.boot@aribaud.net> <1368525030-5162-4-git-send-email-albert.u.boot@aribaud.net> <1368525030-5162-5-git-send-email-albert.u.boot@aribaud.net> <1489195069.818131.1368547310358.JavaMail.root@advansee.com> <20130515093137.5c31a529@lilith> Message-ID: <20130515103000.0868d5df@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 15 May 2013 09:31:37 +0200, Albert ARIBAUD wrote: > Then I should add =relocate_code to r3, not =_start, and also -- as r9 > is not the right offset here -- compute r7 as the delta between the > link-time =_start and the run-time relocate_code (r7 becomes useless > once R10, r2 and r3 are fixed). I badly need a coffee break... Make this "r7 equal to =relocate_code", simply. Amicalement, -- Albert.