[Patch,avr]: Remove -mshort-calls option

Joerg Wunsch j@uriah.heep.sax.de
Sun Oct 7 20:08:00 GMT 2012


As Oleg Endo wrote:

> I think it's more user friendly to
> first warn and then do.

The problem is that this option would better not have existed straight
from the beginning.  When using it, the compiler is at the risk of
generating code that fails to link later, because the relative calls
used could not reach the entire address space of the respective
processor.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



More information about the Gcc-patches mailing list