Mazein Pierre

Linker defined objects for checksums ?

Discussion created by Mazein Pierre on Feb 13, 2009
Latest reply on Feb 16, 2009 by Mazein Pierre
Is there a trick to obtain a symbol for a linker computed checksum ?

I put the checksum in a dedicated placement and section, then I define a variable in the placement : result is that I get an overlapping warning at link and at program times.

If I do not declare a variable in the placement, it gets removed, so no reference possible with the __SEG_X_DEF/__SEG_X_REF  mechanism.

Do you have a clean trick ?

If no trick is possible, then Freescale poeple, please, consider this as a feature request.

It would also be nice to be able to obtain references to sections, not only to placements, even if they are not empty.