From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Mon, 13 May 2013 10:42:27 +0200 Subject: [U-Boot] avr32: fix relocation address calculation In-Reply-To: <1368434285-31986-1-git-send-email-andreas.devel@googlemail.com> References: <1368005117-8624-1-git-send-email-andreas.devel@googlemail.com> <1368434285-31986-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <5190A773.4060201@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/13/2013 10:38 AM, Andreas Bie?mann wrote: > Dear Andreas Bie?mann, > > Andreas Bie?mann 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 >> >> --- >> arch/avr32/lib/board.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > applied to u-boot-atmel/master, thanks! damn scripts ... have to rework them ;)