Hi
I want to get the BSS section and .constdata seciton's base address and size in C code. Does anyone knows how to get them ? Thanks very much !
Yes, I search lots of websites, can't find the answer. But I think it should be a very common requirement.
Are you using the Free version of the compiler ("MDK-Lite")? There is this somewhat worrying statement in the "restrictions" document that might explain why we can't get it working:
The assembler and linker create Symbolic Output Format objects which cannot be linked with third-party linker utilities. Fully licensed tools generate standard ELF/DWARF files which may be used with third-party utilities.
Hi Bill
Thanks for your reply.
My Version is: MDK-ARM Professional Version 5.21a, is it MDK-Lite ?
And what is you said third-party utilities ?
And which format is used for constdata section start address ? constdata$$Base or __constdata_start?