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

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Tue Apr 8 22:52:52 CEST 2008


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





More information about the U-Boot mailing list