Hello,
Is there any technique for placing whole libraries in particular memory location?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Is there any technique for placing whole libraries in particular memory location?
There is no clean solution for this problem. I can, however, point out two techniques which help. I don't know which TI compiler you use. For now, I'll guess it is the TI ARM compiler.
Both of these techniques depend on code in the linker command file. Please see this wiki article for a primer on linker command files.
One technique to consider ... Put all the code from a single object file in one place. You can see an example of that in the first example of this section from the primer.
Another technique to consider ... Put all the code from the compiler RTS library, or even particular object files from that library, in one place. This is discussed in the section titled Specifying Library or Archive Members as Input to Output Sections of the ARM assembly tools manual.
Thanks and regards,
-George