Avr GCC automatically marks all indirect calls for trampoline generation irregardless of the target.
This can be avoided by forcing -mshort-calls or using -mrelax that removes the trampoline at link time (after the call location has been proven to be reachable).
This saves 510 bytes on the current build (the trampolines section is now empty as expected).
Avr GCC automatically marks all indirect calls for trampoline generation irregardless of the target.
This can be avoided by forcing -mshort-calls or using -mrelax that removes the trampoline at link time (after the call location has been proven to be reachable).
This saves 510 bytes on the current build (the trampolines section is now empty as expected).