This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Memmory map understanding

Hi,

Here i show section of map file L2 is memory of my EVM. .map file is shown below,

SECTIONS
{
    .text       >       L2
    .stack      >       L2
    .bss        >       L2
    .cinit      >       L2
    .cio        >       L2
    .const      >       L2
    .data       >       L2
    .switch     >       L2
    .sysmem     >       L2
    .far        >       L2
}

There are different section in .map file. I know that our code stay in .text section . Our varibale are declared in .data section and  they are defined in .stack section. what are use for other section like (.bss,.cinit,.cio,.const,.switch,.far etc). Can you send me useful link for other section like(.bss,.cinit,.cio,.const,.switch,.far etc).

Thanks

Naresh