[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] [Patch, avr] Shrink interrupt vector table down to la

From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] [Patch, avr] Shrink interrupt vector table down to last used entry
Date: Fri, 15 Feb 2013 08:31:42 +0100
User-agent: Thunderbird (Windows/20100228)

Senthil Kumar Selvaraj wrote:

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.

If the feature is off per default, that should be enough to make it a "safe" feature. User will know what options they are activating.

What I don't like is the "--shrink-ivt", I'd rather prefer something less cryptic like "--shrink-vectors" or "--optimize-vectors" or similar.

One technical question:

Does this really need binutils changes, or could it be achieved by linker script improvements, e.g. start .text after the last .vector?

Currently the size of .vectors is forced by crt.o, but maybe there are other way to do it?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]