We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello all,
How does the MDK-ARM decide where to put a variable? Let me put an example:
Variables such as
unsigned short s; unsigned int a[2];
are located in .data, but a bigger array such as
unsigned int b[32];
is located in .bss.
If .data is the same as RW data (not initialized) and .bss is ZI data (zero initialized), why arrays are located in one section or another depending on the size?
Regards,
Jose
I believe the answer is here:
www.arm.com/.../5673.html
Regards, - mike