Tool/software: TI C/C++ Compiler
Hello,
I am trying to do the following using the TI linker:
.sec1 :
{
__sec1Start = .;
*(.sec1_in)
*(.sec1_in.*)
. = __sec1Start + 0x2000;
*(.sec2_in)
*(.sec2_in.*)
. = __sec1Start+ 0x4000 - 1;
__sec1End= .;
} > MEM
This results in an error :
symbol "__sec1Start " used in expression before it has been assigned a value
The EXACT same thing works just fine with a GNU linker.
What is wrong - shouldn't this be a standard linker syntax? how can i circumvent this problem/bug to accomplish the same on the TI linker?
Thanks
Guy