Memory Configuration Name Origin Length Attributes rom 0x02000000 0x00400000 xr ram 0x06000000 0x0003fc00 xw *default* 0x00000000 0xffffffff Linker script and memory map LOAD sh2_test.osh LOAD sh2_main.osh 0x00000000 __DYNAMIC = 0x0 [!provide] PROVIDE (__stack = 0x603fc00) .text 0x06000000 0x6e0 load address 0x00000000 0x06000000 __text_start = . *(.text) .text 0x06000000 0x54c sh2_test.osh 0x0600044c read_frt 0x0600045c start 0x06000544 spin .text 0x0600054c 0x150 sh2_main.osh 0x0600054c main_c *(.text.*) *(.gnu.linkonce.t.*) 0x060006a0 . = ALIGN (0x10) *fill* 0x0600069c 0x4 0x060006a0 __INIT_SECTION__ = . *(.init) 0x060006a0 0x2 SHORT 0xb 0x060006a2 0x2 SHORT 0x9 0x060006b0 . = ALIGN (0x10) *fill* 0x060006a4 0xc 0x060006b0 __FINI_SECTION__ = . *(.fini) 0x060006b0 0x2 SHORT 0xb 0x060006b2 0x2 SHORT 0x9 *(.eh_frame_hdr) *(.eh_frame) *(.gcc_except_table) *(.jcr) 0x060006c0 . = ALIGN (0x10) *fill* 0x060006b4 0xc 0x060006c0 __CTOR_LIST__ = . 0x060006c0 ___CTOR_LIST__ = . 0x060006c0 0x4 LONG 0x0 (((__CTOR_END__ - __CTOR_LIST__) / 0x4) - 0x2) *(SORT_BY_NAME(.ctors.*)) *(.ctors) 0x060006c4 0x4 LONG 0x0 0x060006c8 __CTOR_END__ = . 0x060006d0 . = ALIGN (0x10) *fill* 0x060006c8 0x8 0x060006d0 __DTOR_LIST__ = . 0x060006d0 ___DTOR_LIST__ = . 0x060006d0 0x4 LONG 0x0 (((__DTOR_END__ - __DTOR_LIST__) / 0x4) - 0x2) *(SORT_BY_NAME(.dtors.*)) *(.dtors) 0x060006d4 0x4 LONG 0x0 0x060006d8 __DTOR_END__ = . *(.rdata) *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) 0x060006e0 . = ALIGN (0x10) *fill* 0x060006d8 0x8 0x060006e0 __text_end = . 0x060006e0 __data_start = . *(.data) .data 0x060006e0 0x0 sh2_test.osh .data 0x060006e0 0x0 sh2_main.osh *(.data.*) *(.gnu.linkonce.d.*) *(.lit8) *(.lit4) *(.sdata) *(.sdata.*) *(.gnu.linkonce.s.*) 0x060006e0 . = ALIGN (0x10) 0x060006e0 __data_end = . 0x00000000 __data_size = (__data_end - __data_start) .bss 0x060006e0 0x0 load address 0x000006e0 0x060006e0 __bss_start = . *(.bss) .bss 0x060006e0 0x0 sh2_test.osh .bss 0x060006e0 0x0 sh2_main.osh *(.bss.*) *(.gnu.linkonce.b.*) *(.sbss) *(.sbss.*) *(.gnu.linkonce.sb.*) *(.scommon) *(COMMON) 0x060006e0 . = ALIGN (0x10) 0x060006e0 end = . 0x060006e0 _end = end 0x060006e0 __end = _end 0x060006e0 __bss_end = . 0x00000000 __bss_size = (__bss_end - __bss_start) OUTPUT(sh2_test.elf elf32-sh) .comment 0x00000000 0x12 .comment 0x00000000 0x12 sh2_main.osh 0x13 (size before relaxing)