TMS320C6000 Assembly Language Tools v 7.0 (7.0.2)
DM648
Paragraph 7.4.30 (Generate Far Call Trampolines) in SPRU186S states that trampoline calls are generated automatically for when near calls will not work. This seems to work only when the -c linker option is used. How can I get trampoline calls when using the -r option? I have tried to explicitly enable trampolines and this does not work.
I am trying to load execution sensitive code in L2 memory and have it called by code running is external DDR memory. This is proving to be quite a problem.
Following error is returned: warning: relocation from function "..." to symbol "..." overflowed; the 31-bit relocated address ... is too large to encode in the 21-bit signed PC-relative field
This is true. L2 memory is at 0xa00000 and DDR is at 0xe0000000. Why aren't trampolines generated?