RFC: Using per function sections
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Apr 12 07:07:37 UTC 2013
Hello Joel,
what is this for an option?
On 04/11/2013 11:59 PM, Joel Sherrill wrote:
> Hi
>
> After Anthony Green commented how much code space was
> saved by using per function sections, I have been doing some
> experimenting on a few targets. My impression is:
>
> + Some tests drop > 50% in size
> + Most drop 20-30%
> + Minimum drop is ~10%
> + Even a well tuned size constrained BSP like the lpc23xx_tli800
> saw 6-9% minimum improvements. At least one test fit into
> memory which did not before hand.
>
> PowerPC and ARM appear to work great. SPARC/sis resulted in 80
> byte .text sections.
>
> I would like to know if there is general interest in using these
> options across all BSPs where it works. And investigating those
> which do not.
>
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list