How to add some string details specifying revision\version of application inside loader file.
We can indirectly insert a version NUMBER into a loader file. We may have two ways to do so:
1) Insert a version number in the boot kernel file and rebuild it before building a loader file. Since kernel is in assembly code, it exactly knows where the version number is in the kernel code. Because the loader always puts the kernel code in the front of a loader file in 256 words, it would be possible to find the number by just doing word count in the loader file.
2) Make a special section to store a version number in application, and it can retrieve the number later in the loader file. We may need to parse the loader file to find the exact location of the number. If we put the number in the end of the loader file (the last 256 words which are overlapped with the kernel code), we may be able to find it in a simple way.