1 2MEMORY 3{ 4 codearea : origin = 0x02000000, length = 0x0E000000 5 dataarea : origin = 0x10000000, length = 0xB0000000 // maximum virtual size (to start of r/o area) 6 dynlarea : origin = 0xC0000000, length = 0x08000000 // dynamic loader info 7 not_allowed : origin = 0, length = 0 8} 9 10OPTION("-append") 11 12SECTIONS 13{ 14 .text ALIGN(0x20) : > codearea 15 16 .fexports ALIGN(0x20) : > dynlarea 17 .dexports ALIGN(0x20) : > dynlarea 18 19 .rodata ALIGN(0x20) : > dataarea 20 .secinfo ALIGN(0x20) : > dataarea 21 .data ALIGN(0x20) : > dataarea 22 .module_id ALIGN(0x20) : > dataarea 23 .bss ALIGN(0x40) : { *(.bss2) } > dataarea 24 .ipc_smem ALIGN(0x20) : > dataarea 25 .thrdata ALIGN(0x20) : > dataarea // default initialized TLS sections must be in this order 26 // user defined initialized TLS sections should go here 27 .thrbss ALIGN(0x20) : > dataarea // default uninitialized TLS sections must be in this order 28 // user defined uninitialized TLS sections should go here 29 30 .sdata ALIGN(0x20) : > not_allowed 31 .sbss ALIGN(0x20) : > not_allowed 32 .sdata2 ALIGN(0x20) : > not_allowed 33 34 // this should be the last line 35 .appended ALIGN(0x20) : > codearea // import sections 36} 37 38