> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: den 8 april 2008 23:09 > To: Joakim Tjernlund > Cc: 'Stefan Roese'; [email protected]; 'Kim Phillips' > Subject: Re: [U-Boot-Users] [PATCH] Make MPC83xx one step closer to full > relocation. > > In message <[EMAIL PROTECTED]@transmode.se> you wrote: > > > > > > .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? > > There might be other segments at the start of the image... > > See for example cpu/mpc8xx/start.S - while at the moment we really > start with .text, it would technically be more approrpriate to change > the first 256 bytes (from monitor base to EXC_OFF_SYS_RESET) into > .rodata or something like this.
Ahh, now I see what you mean and it gave me an idea ... > > > Anyhow, we can go with the other solution instead, define the symbol in > > start.S > > instead, if one is needed. > > If it cannot be avoided ;-) ... Stefan, maybe you can #define EXC_OFF_SYS_RESET for 405 to something that fits with my relocation patch? Jocke ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
