Hello. Is there any way to simplify the call tree manipulation in linker..? (Scripting kind of) My code has number of function calls through pointers. The functions are divided in few main groups. I want to achieve overlay among the functions of an individual group.(Intragroup) At the same time I want to avoid overlaying among the functions from different groups.(Intergroup) Adding and removing the references for every function from every other function is big task. I somehow managed it at the moment. However it is not good practice from the long term perspective.
So, can I define a list of functions which can be used at multiple places in linker script. Or can I share a macro from compiler to the linker..?
Best regards, Vivek.
Hello Neil, Thanks for ur help.
I hope u r talking about the keyword overlay(!/~) when u r saying linker control.
What I am looking for is the way to group a list of functions to avoid redundancy in linker file. Because otherwise every function and its reference with others leads to numerous combinations. Ultimately same function would be specified at least 10 times in my case.
I am not able to find any such way in the tool manual. So please let me know if there is any way of doing what I just mentioned.
Best regards, Vivek