This is the mail archive of the
mailing list for the binutils project.
Re: [patch, avr, size] add --mcu and -C options from winavr
On Wed, Nov 07, 2012 at 05:46:47PM -0600, Jonathan Kotta wrote:
> This patch is applied by several Linux distributions, and shows you
> how much flash and RAM a program uses as a percentage of the total for
> a given chip. It would be nice if it was upstream. It should only be
> applied when building for AVR, but I'm unsure of how to do that, so I
> would appreciate help with that.
I think this would be better as a separate utility.
- Your added code increases size.c by almost 50%.
- Your code doesn't use anything in size.c besides option handling code.
- Your code doesn't support an existing option, --radix.
Australia Development Lab, IBM