Hi,
I work on desktop Linux MCSDK and need to learn linker syntax now.
I check the linker file and don't find any description about .switch in the manual. Could you explain it to me with the following example?
Thanks,
//////////////////////////////
MEMORY
{
RAM: origin = 0x00000001, length = 0xFFFFFFFE
}
SECTIONS
{
.text :ALIGN(32) {} > RAM
.const :ALIGN(32) {} > RAM
.data :ALIGN(32) {} > RAM
.bss:ALIGN(32) {} > RAM
.cinit :ALIGN(32) {} > RAM
.pinit :ALIGN(32) {} > RAM
.stack :ALIGN(32) {} > RAM
.far:ALIGN(32) {} > RAM
.sysmem:ALIGN(8) {} > RAM
.switch:ALIGN(4) {} > RAM
.cio:ALIGN(4) {} > RAM
}