[U-Boot-Users] [PATCH] Make MPC83xx one step closer to full relocation.

Joakim Tjernlund
2008-04-08T20:52:52Z

> -----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