From: Wolfgang Denk Date: Wed, 05 Dec 2007 20:50:17 +0100 Subject: [U-Boot-Users] [PATCH] Fix ppc4xx clear_bss() code In-Reply-To: Your message of "Wed, 05 Dec 2007 19:42:58 +0100." <20071205194258.79f67211@siona> Message-ID: <20071205195017.2E7EA242FA@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 In message <20071205194258.79f67211@siona> you wrote: > > > ppc4xx clear_bss() fails if BSS segment size is not > > divisible by 4 without remainder. This patch provides > > fix for this problem. > > Isn't it better to fix the linker script so that the size _is_ > divisible by 4? From the robustness point of view Anatolij's patch is needed - it is a desirable feature of software to show correct behaviour even with (slightly) wrong input. ACKED. 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 One essential to success is that you desire be an all-obsessing one, your thoughts and aims be co-ordinated, and your energy be concentra- ted and applied without letup.