I have a bootloader which when compiled with gcc4.6.x or 4.7.x (AS6.0/6.1) fits within the 2048 bytes available on an Mega168pa. To get it to fit I enabled the -mshort-calls option under optimization.
With AS6.2 (gcc4.8.x) the option still exists in the GUI but when I try and build the project it gives me the error:
avr-gcc.exe(0,0): error: unrecognized command line option '-mshort-calls'
If I disable this option it builds but the code has grown by 10% to 2188 bytes and no longer fits in the bootloader section.
Does anyone know why the -mshort-calls command line option has been removed from gcc from 4.8 onwards?