Hello,
I was wondering if there is a way for TMS570 linker to provide the symbol table of a linked binary (*.out) file as input when linking a second binary. I want to link two binaries into the internal flash memory, where the second one makes use of functions included in the first one.
--- FIRST binary ---
void bar ( int foo )
{
printf ("'bar' called by foo%d\n", foo);
}
void foo1 ( void )
{
bar (1);
}
--- / FIRST binary ---
--- SECOND binary ---
extern void bar ( int foo );
void foo2 ( void )
{
bar (2);
}
--- / SECOND binary ---
My idea would be linking the first binary and feed its symbol table to the linker when creating the second binary so it knows the address of function 'bar' when resolving the external symbol 'bar'. Is there some way to do this?
Thanks in advance!
Stefan