[U-Boot] avr32: fix relocation address calculation

Andreas Bießmann
2013-05-13T08:38:05Z

Dear Andreas Bie?mann,

Andreas Bie?mann <andreas.devel@googlemail.com> writes:
>Commit 1865286466a5d0c7f2e3c37632da56556c838e9e (Introduce generic link
>section.h symbol files) changed the __bss_end symbol type from char[] to
>ulong. This led to wrong relocation parameters which ended up in a not working
>u-boot. Unfortunately this is not clear to see cause due to RAM aliasing we
>may get a 'half-working' u-boot then.
>
>Fix this by dereferencing the __bss_end symbol where needed.
>
>Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
>
>---
>arch/avr32/lib/board.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann