I'm currently trying to alter a gcc.lcf to change the way my compiled
files are linked. More precisely, I need to add a section containing
binary data that have to be reachable within the app.
Thus, I tried the follwing:
my_section : AT(ADDR(.previous_section) + SIZEOF(.previous_section))
{
var = ADDR(.my_section);
INCLUDE my_data_file
/*or INPUT, maybe ??*/
} > mem_rw
..where 'var' is the variable containing the address of my data file
for accessing within the app and the command to include my file.
But INCLUDE returns a parse error by the linker and the same goes for
INPUT..
Any idea ??
Thanks a lot :)