to reduce footprint

Ben Elliston bje@au1.ibm.com
Wed Dec 20 23:21:00 GMT 2006


> Thanks Ian. After reading the manual for -Os, it seems that using -Os
> can both achieve the better performance and reduce the footprint. Is
> that correct?

Sometimes, yes.  On some machines, there is a good performance gain if
you can reduce code size such that more of the frequently executed code
is retained in the instruction cache.

Ben




More information about the Binutils mailing list