From: Reinhard Meyer Date: Fri, 01 Oct 2010 13:37:02 +0200 Subject: [U-Boot] ARM relocation, probably trivial mistake - back to original problem In-Reply-To: <20101001112125.4076E153A7E@gemini.denx.de> References: <4CA49746.2050301@emk-elektronik.de> <4CA4AEFF.3050101@denx.de> <20100930174308.070ECD2B48C@gemini.denx.de> <4CA570D3.9040406@denx.de> <4CA57468.6090702@free.fr> <4CA57762.3000201@denx.de> <4CA5821E.3070108@emk-elektronik.de> <4CA5873B.6040907@free.fr> <4CA590E6.6070701@emk-elektronik.de> <4CA59B89.6090207@denx.de> <4CA5BB7A.8050304@emk-elektronik.de> <20101001105506.A64D41539A0@gemini.denx.de> <4CA5BFEF.3090208@emk-elektronik.de> <20101001112125.4076E153A7E@gemini.denx.de> Message-ID: <4CA5C7DE.6010300@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk, >> >> it became illegal once u-boot for AT91 became required to be relocated >> > > No, it has always been illegal. You might thave been lucky that in > your case the erros did not show up erarlier, but this does not change > anything. Sorry, before recently there was no relocation whatsoever used in u-boot for AT91 architectures. So there was no before/after relocation. The only complaint that can be put up is that someone introduced functions using static data called from code that in other architectures runs before relocation ;) Whatever, I am not an advocate for Atmel, neither am I getting paid by them, I am just a "user" that has to fix problems I did not expect to be there. For the fix, I see an ugly multiline #if defined(AT91SAM9260) || defined(AT91SAM9G20) || ... coming into arch/arm/asm/global_data.h. There is no common defined value for all AT91 SoCs that could be used. Will that be ok? Reinhard