From: Wolfgang Denk Date: Thu, 02 Dec 2010 09:13:20 +0100 Subject: [U-Boot] [PATCH] ARMv7: Fix linker errors across toolchain versions In-Reply-To: <4CF74FED.2030102@free.fr> References: <1291216634-7510-1-git-send-email-premi@ti.com> <4CF68230.7060107@free.fr> <4CF68693.1050406@free.fr> <4CF695B6.2010106@free.fr> <4CF6C09A.7050206@free.fr> <4CF743E6.60706@free.fr> <20101202073437.8C64FEA6600@gemini.denx.de> <4CF74FED.2030102@free.fr> Message-ID: <20101202081320.DBD5FEA6600@gemini.denx.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 Albert ARIBAUD, In message <4CF74FED.2030102@free.fr> you wrote: > > BTW... Why on Earth is it an uint8? Probably a space saving measure, but > one I think is not really fruitful, because of probable paddings and > alignments; making it an int would allow using smsc_id directly as > values for the OMAP3EVM_BOARD_GEN_1 and OMAP3EVM_BOARD_GEN_2... > > ... plus it removes the linker warning! Oops. Why would this make a difference? > I thus suggest turning omap3_evm_version from uint8 to int and get on > with debugging the board. No, I don't think this is a good idea as it just papers over an existing problem. Does it help when you change the "*(.bss)" in "arch/arm/cpu/armv7/u-boot.lds" into "*(.*bss)" (so it also includes any .sbss objects) ? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de ATTENTION: Despite Any Other Listing of Product Contents Found Here- on, the Consumer is Advised That, in Actuality, This Product Consists Of 99.9999999999% Empty Space.