Thanks for the hint!  I shall try this first thing this morning.

Best regards, 

Stu Bell 
DataPlay (DPHI, Inc.) 


-----Original Message-----

Hi, you could solve your problem by using -Wl,--relax . The linker first starts 
with worst-case assumptions that imply that it needs a trampoline for any 
function. 

The linker thus reserves the space for all possibly needed trampolines and 
starts the application code behind the trampolines. If it turns out that not 
all of the trampolines are actually needed, this space remains reserved by 
default. 

The space is freed afterwards when using the linker relaxation.

Yours, 

Björn.



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to