Hi all, I am trying to craft a (somewhat) complicated OVERLAY directive for the BL51.exe linker. Basically, the situation is this: I have one function that I am trying to add to the call tree, because it may get called in the future through function pointers, and I have another two functions that I am trying to designate as new root segments.
I can successfully do one or the other of these using one of the following:
OVERLAY(_caller_func ! _called_func) OVERLAY(* ! (_new_root_1, _new_root_2))
However, possibly through my own inability to count parentheses, I cannot combine these two directives so that both are executed. I get L201 (invalid command line syntax) fatal errors when using any variation of the following the I can think of:
OVERLAY((_caller_func ! _called_func),(* ! (_new_root_1, _new_root_2)) )
Any suggestions? -S