This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [avr] Displaying memory usage info


Hi Senthil,

1. Embed device memory capabilities in a .note section in the crt file
(no binutils changes, change avr-libc's gcrt1.S).
3. Use objdump's private options feature to add a -Pmem-usage option
that consumes the data in the .note section and then prints out
the usage information, like the patch does now.

Does this look like a reasonable approach.

This looks much much better.

Would you guys have any
problems taking in a patch that implements the above?

Nope.  Well provided that it works of course. :-)

Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]