Greetings,
I have a project which, in the linker cmd file, defines a memory space of 0x30 words. According to the linker, the program has consumed 0x15 words, or less than half of what has been allocated. But it produces the error below (which is much more readable if you copy and paste into a notepad). Clearly the condition of “will not fit into available memory “ does not exist, so it must be the “call site that requires a trampoline that can't be generated for this section”. What does that mean, and how is it fixed?
Thank you,
Ed
Cmd File
MEMORY
{
PAGE 1: MY_MEM: origin = 0x000010, length = 0x000030
}
SECTIONS
{
vars1 > MY_MEM PAGE 1
vars2 > MY_MEM PAGE 1
}
Linker Output
#10099-D program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section "vars1" size 0x11page 1. Available memory ranges: <ProjectName>.cmd /<ProjectName> line 104 C/C++ Problem
#10099-D program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section "vars2" size 0x4page 1. Available memory ranges: <ProjectName>.cmd /<ProjectName> line 105 C/C++ Problem