From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 13 May 2013 13:43:22 +0200 Subject: [U-Boot] [PATCH] avr32: fix relocation address calculation In-Reply-To: <20130510112444.4dca773f@lilith> References: <1368005117-8624-1-git-send-email-andreas.devel@googlemail.com> <20130510112444.4dca773f@lilith> Message-ID: <20130513134322.2d7dc119@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 10 May 2013 11:24:44 +0200, Albert ARIBAUD 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.