[U-Boot] [PATCH] avr32: fix relocation address calculation

Albert ARIBAUD albert.u.boot at aribaud.net
Mon May 13 13:43:22 CEST 2013


On Fri, 10 May 2013 11:24:44 +0200, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:

> Sorry for not spotting this before it was merged in; but now this must
> be fixed. I'm ok with the wrongly-ulong symbols being changed back to
> char[], though I would prefer their type to be char[0] if possible, as
> this is (admittedly marginally) more likely to help the compiler catch
> accidental dereferencings.

Following the latest exchange with Andreas, and after some tests with
eldk42 and a gcc 4.7 toolchain, I amend the previous paragraph: rather
than 'char[0]', I suggest using 'struct {}'.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list