I may be trying to do something impossible at the linking stage...

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
I am constructing a safety critical application for the XC2361E but have a problem at the linking stage.
I am using the Tasking VX tool set.

Using linker script I am trying to create a symbol, visible in the elf, that refers to a block of linked objects as single entity
so I can calculate a CRC, post link, using a custom tool. I have tried using an overlay group, but this doesn't work. It may be
that I am trying to do something that is not supported by the linker script.

group ( overlay, allow_cross_references, run_addr = TUNE_DATA_COMPONENTS, align = 2 )
{
group tune_block ( ordered )
{
select "tune1" ;
select "tune2" ;
select "tune3" ;
}
group tune_block_all
{
reserved "tune_block_crc_ref" ( size = sizeof( group: tune_block ) ) ;
}
}

This above is wrong and can't work. Can someone give me a pointer how I might create "tune_block_crc_ref" ?
0 Likes
0 Replies