From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joakim Tjernlund Date: Tue, 8 Apr 2008 22:52:52 +0200 Subject: [U-Boot-Users] [PATCH] Make MPC83xx one step closer to full relocation. In-Reply-To: <20080408204151.601B124842@gemini.denx.de> References: Your message of "Tue, 08 Apr 2008 16:04:58 +0200." <1207663498.5826.56.camel@gentoo-jocke.transmode.se> <20080408204151.601B124842@gemini.denx.de> Message-ID: <044901c899ba$83532450$89f96cf0$@Tjernlund@transmode.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > -----Original Message----- > From: wd at denx.de [mailto:wd at denx.de] > Sent: den 8 april 2008 22:42 > To: joakim.tjernlund at transmode.se > Cc: Stefan Roese; u-boot-users at lists.sourceforge.net; 'Kim Phillips' > Subject: Re: [U-Boot-Users] [PATCH] Make MPC83xx one step closer to full relocation. > > In message <1207663498.5826.56.camel@gentoo-jocke.transmode.se> you wrote: > > > > Both ways should be doable I think. A linker script would probably look > > something like(pseudo diff below): > > .text : > > { > > + _monitor_base = . ; > > There is no guarantee that this is the same as the start address of > .text > I am no link script expert, but I cannot see why that would not be the start of the .text segment? Anyhow, we can go with the other solution instead, define the symbol in start.S instead, if one is needed. Jocke