This may not be ARM specific and I want to calculate my arm code's checksum from C. I am think of using label _etext defined in the linker script as end address. Can I use this label _etext in C? I've tried this and compiler warns that it is undeclared. I am using ARM-GNU.