From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 29 Oct 2010 11:29:09 +0200 Subject: [U-Boot] Most ARM CPU's have buggy clear_bss? In-Reply-To: <20101028113858.0622A152451@gemini.denx.de> References: <4CC914D8.4070101@denx.de> <20101028083950.20A74152451@gemini.denx.de> <4CC94F39.7050302@ahsoftware.de> <4CC95B9E.3040108@emk-elektronik.de> <20101028113858.0622A152451@gemini.denx.de> Message-ID: <4CCA93E5.6010509@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 28/10/2010 13:38, Wolfgang Denk a ?crit : >>> CONFIG_RELOC_FIXUP_WORKS >> >> Not needed for ARM when ELF relocation is used. I don't know whether other >> architectures still need it. Do NOT set it on ARM or you get in trouble by >> some addresses being relocated twice. > > Sure? My understanding is that it MUST be set since we have > elf_reloc? It is needed if code exists wich is conditioned on it, but such code should be cleaned up to keep only the "ifdef" part of it. > My understanding is that CONFIG_SYS_ARM_WITHOUT_RELOC and > CONFIG_SKIP_RELOCATE_UBOOT should not be set (and I don;t know what > happens if you do), but CONFIG_RELOC_FIXUP_WORKS is automaticlly set > for all ARM systems now. I'd agree with this. Amicalement, -- Albert.