Re: [U-Boot] [PATCH 2/2] 85xx: Ensure BSS segment doesn't start at address 0x0

2009-10-06 Thread Peter Tyser
> > --- a/cpu/mpc85xx/u-boot.lds.S > > +++ b/cpu/mpc85xx/u-boot.lds.S > > @@ -131,6 +131,14 @@ SECTIONS > > > >. = RESET_VECTOR_ADDRESS + 0x4; > > > > + /* > > + * Make sure that the bss segment doesn't start at 0x0, otherwise its > > + * address won't be updated during relocation fix

Re: [U-Boot] [PATCH 2/2] 85xx: Ensure BSS segment doesn't start at address 0x0

2009-10-06 Thread Wolfgang Denk
Dear Peter Tyser, In message <1254783670-21301-3-git-send-email-pty...@xes-inc.com> you wrote: > When U-Boot is relocated from flash to RAM pointers are modified > accordingly. However, pointers initialzed with NULL values should not > be modified so that they maintain their intended NULL value.

[U-Boot] [PATCH 2/2] 85xx: Ensure BSS segment doesn't start at address 0x0

2009-10-05 Thread Peter Tyser
When U-Boot is relocated from flash to RAM pointers are modified accordingly. However, pointers initialzed with NULL values should not be modified so that they maintain their intended NULL value. The address of the BSS segment must be modified during relocation which means that it must not have a