Re: [Patch, avr] Shrink interrupt vector table down to last used entry
Senthil Kumar Selvaraj <[email protected]>
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Feb 14, 2013 at 10:38:11PM +0530, Weddington, Eric wrote: > Hi All, > > I open to suggestions on such a feature, but let's talk about it in AVR community first and leave the binutils mailing list out of it until we arrive at a consensus. > Like the others said, the patch does not change the default behavior for unhandled interrupts - they still branch to __bad_interrupt. The user would have to explicitly use the --shrink-ivt option to change that - at which point, I guess he should be knowing what he's doing. For what it's worth, I asked about the usefulness of this in avr freaks a while back (http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=128193) and most people thought it would be useful, provided it can be controlled by a command line switch. This "optimization" was also requested when Johann asked for features for the compiler. (http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=128814 by abcminiuser). Regards Senthil