"Boyapati, Anitha" <anitha.boyap...@atmel.com> wrote:

> 1. Why can't rcall/rjmp be used against external symbols?

They can, and they (usually) do.

> If the value falls outside the legal range, linker relaxation can
> handle it.

No.  Linker relaxations can only work the other way: replace longer
jumps/calls by smaller ones.  The "relocation truncated to fit"
message means required information has been lost (because it doesn't
fit into the target address field), so the error is already fatal at
that point.

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

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

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

Reply via email to