AnsweredAssumed Answered

RAM and ROM section from map file

Question asked by Sindhuja Bala on Apr 3, 2018
Latest reply on Apr 4, 2018 by Jiri Kral

I would like to calculate RAM and ROM size from .map file. I have use MPC5744p, z4 core for S32ds compilation.

There are sections like .text, .rodata, .sdata, .sbss, .COMMON.

 

What is .sdata section holds and where it will be used either for RAM or ROM?

 

From NXP document it is found that .rodata and .text section will come for ROM section calculation.

And .sbss(initialized data), .COMMON.(uninitialized Global variable) will come for RAM section.

Kindly confirm the understanding.

 

Can Linker pdf for MPC5744P S32ds Power PC architecture be shared?

Outcomes