Joerg Wunsch wrote:
Eric Weddington <[EMAIL PROTECTED]> wrote:
Attached is a draft patch to binutils 2.16.1 to implement part of
it. This patch will allow avr-size to report the memory sizes in
the same kind of format as the avr-mem.sh script. ...
-int berkeley_format = BSD_DEFAULT; /* 0 means use AT&T-style output. */
+/* Set default format. */
+format_type_t format = format_avr;
Hmm, while you could maintain that as a private hack, I somewhat doubt
a hack for a single, really unimportant (from binutil's point of view)
target would get acceptance for that kind of code change.
Sorry, I didn't mention: I was planning on keeping it as a private hack.
Well, at least private to the AVR community anyway since the format is
specific to a processor.
If at all, then you'd probably need to hack that up so *any* supported
controller-like CPU could use it, and then just handle the AVR as a
single instance of such a controller.
Hmm. Too much work for the moment. Perhaps after I get my official GNU
copyright assignment paperwork done. ;-)
Even for the AVR, I think you should not change default formats.
Other people's scripts could easily stumble across it, as they might
assume the 20+ years historical BSD output format to be the default.
Sure, good point. I'll change that back then.
Thanks for the input.
--
Eric Weddington
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list