Hi, @gopal1 , @Daniel-Aguirre ,
It it compiler tool chain thing.
IAR linker embeds the checksum in the code. So, as shown as below screenshot you can use IAR toolchain and you can select CRC algorithm for your requirement.

But, GCC toolchain doesn't provide the option for Checksum - CRC generation so not option in the settings. But, yes, you can use external filter might be able to generate a checksum on the ELF file and write it into the binary.
(Although I havan't tried this particular tool. May be you use this external tool.. post building https://srecord.sourceforge.net/)
Please let us know, if you were able to work out.
Thank you. Kind regards.
- Mehul Patel