[OE-core] [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings.

Wolfgang Denk wd at denx.de
Fri Jun 29 23:34:33 UTC 2012


Dear Khem Raj,

In message <CAMKF1sp8=OreFKNds00t-rxoVVgWaraUTRzMNqVZdY13FXu2YA at mail.gmail.com> you wrote:
> 
> > -O2 causes much bigger memory footprint, so the code does not fit any
> > more in the memory map and/or flash sectors that are reserved for it.
> 
> Hmm interesting so we are living on edge here

Well, -O2 can mean some 30% bigger code size than -Os.  This hurts for
memory-footprint optimized code like a boot loader.  [It also hurts in
terms of exacution speed on most embedded systems...]

> Thanks for the info

You are welcome.

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
The IQ of the group is the lowest IQ of a member of the group divided
by the number of people in the group.




More information about the Openembedded-core mailing list