[U-Boot-Users] [PATCH] Fix ppc4xx clear_bss() code

Wolfgang Denk wd at denx.de
Wed Dec 5 20:50:17 CET 2007

In message <20071205194258.79f67211 at 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.


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.

More information about the U-Boot mailing list