Hi
I'm not really sure if this is what you want to do but this way you can add some labels and have some binary markers inserted in you binary image.
The following is the concept - beware of typo's - this is not tested.
Add an assembler file with this contents:
.section .mystart
.globl labelmystart
labelmystart:
.byte 0,1,2,3,'N','i','o','s','2' # Inserted into binary image verbatime
You might be able to do this with some sort of __attribute__ from within a C/C++ file but I dunno.
In your linker script add the following line to SECTIONS as the first line
.mystart : {KEEP (*(.mystart)) . = 0x20;} > sram
This outputs the mystart section first and advances the location counter with 32 bytes. You will probably have to change the > sram into > flash
I suggest that you add a similiar line just before the closing brace of SECTIONS with a myend etc...
Somthing along these lines should enable you to do a CRC on the entire area inbetween.
The 32 bytes allocated at the beginning provides you with a nice place to patch the CRC into the file with a post link tool of sorts.
Hope this helps you somehow.