1 1.1 itojun OUTPUT_FORMAT("coff-shl") 2 1.1 itojun OUTPUT_ARCH(sh) 3 1.1 itojun MEMORY 4 1.1 itojun { 5 1.1 itojun ram : o = 0x8C010000, l = 16M 6 1.1 itojun } 7 1.1 itojun SECTIONS 8 1.1 itojun { 9 1.1 itojun ROM = 0x80010000; 10 1.1 itojun 11 1.1 itojun .text : 12 1.1 itojun AT (ROM) 13 1.1 itojun { 14 1.1 itojun *(.text) 15 1.1 itojun *(.strings) 16 1.3 lukem _etext = . ; 17 1.1 itojun } > ram 18 1.1 itojun .tors : 19 1.4 uebayasi AT (ROM + SIZEOF(.text)) 20 1.1 itojun { 21 1.1 itojun ___ctors = . ; 22 1.1 itojun *(.ctors) 23 1.1 itojun ___ctors_end = . ; 24 1.1 itojun ___dtors = . ; 25 1.1 itojun *(.dtors) 26 1.1 itojun ___dtors_end = . ; 27 1.1 itojun } > ram 28 1.1 itojun .data : 29 1.4 uebayasi AT (ROM + SIZEOF(.text) + SIZEOF(.tors)) 30 1.1 itojun { 31 1.1 itojun *(.data) 32 1.3 lukem _edata = . ; 33 1.1 itojun } > ram 34 1.1 itojun .bss : 35 1.4 uebayasi AT (ROM + SIZEOF(.text) + SIZEOF(.tors) + SIZEOF(.data)) 36 1.1 itojun { 37 1.3 lukem _bss_start = . ; 38 1.1 itojun *(.bss) 39 1.1 itojun *(COMMON) 40 1.3 lukem _end = . ; 41 1.1 itojun } > ram 42 1.1 itojun .stack : 43 1.1 itojun { 44 1.3 lukem _stack = . ; 45 1.1 itojun *(.stack) 46 1.1 itojun } > ram 47 1.1 itojun .stab 0 (NOLOAD) : 48 1.1 itojun { 49 1.1 itojun *(.stab) 50 1.1 itojun } 51 1.1 itojun .stabstr 0 (NOLOAD) : 52 1.1 itojun { 53 1.1 itojun *(.stabstr) 54 1.1 itojun } 55 1.1 itojun } 56