[U-Boot] [PATCH v3] mpc83xx: New board support SIMPC8313

Wolfgang Denk wd at denx.de
Tue Nov 25 20:11:40 CET 2008

Dear Kim Phillips,

In message <20081124183714.07cf1670.kim.phillips at freescale.com> you wrote:
> > > I did not see this when I built before submitting my patch.  It seems to build
> > > fine using ELDK version 4.1.  I just tried building with 4.2 and am
> > > seeing the errors that you described.  For some reason, the 4.2 build has
> > > about 48 extra bytes to it, and is once again putting me over the 4K
> > > bootstrap limit.  I'm going to look into getting the size down, but that's a
> > > decent number of bytes to try to optimize out.
> what was the 4.2 toolchain doing differently than the 4.1 toolchain?
> maybe that's an area worth looking into.

This area has been looked into before, carefully. The size increase
results from a bug fix in GCC.

The GCC maintainers explained that this change was a bug-fix to the
old compiler, the essence of the bug being that the ldmw/stmw should
not be used when the sequence of registers is "broken" by the use of
"-ffixed=" options and global register variables, as in the case of
U-Boot. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34903

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
Unsichtbar macht sich die Dummheit, indem sie immer  größere  Ausmaße
annimmt.                             -- Bertold Brecht: Der Tui-Roman

More information about the U-Boot mailing list