This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to get section address and size

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 !

Parents
  • 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.

Reply
  • 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.

Children