]> git.sur5r.net Git - u-boot/commit
avr32: fix relocation address calculation
authorAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 7 May 2013 23:25:17 +0000 (23:25 +0000)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 13 May 2013 08:35:12 +0000 (10:35 +0200)
commita7e62be09189dae3a16882e53f15c38754f9db91
tree44a0c46e42517ecb4ab7be532b558d9796f45f07
parentbbd0f7e3ba66d288a2f146f1c7797801e04598ae
avr32: fix relocation address calculation

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