1 /* $NetBSD: shl-coff.x,v 1.1 2001/03/22 18:35:33 uch Exp $ */ 2 3 OUTPUT_FORMAT("coff-shl") 4 OUTPUT_ARCH(sh) 5 MEMORY 6 { 7 ram : o = 0x8C001000, l = 16M 8 } 9 SECTIONS 10 { 11 ROM = 0x80001000; 12 13 .text : 14 AT (ROM) 15 { 16 *(.text) 17 *(.strings) 18 _etext = . ; 19 } > ram 20 .tors : 21 AT ( ROM + SIZEOF(.text)) 22 { 23 ___ctors = . ; 24 *(.ctors) 25 ___ctors_end = . ; 26 ___dtors = . ; 27 *(.dtors) 28 ___dtors_end = . ; 29 } > ram 30 .data : 31 AT ( ROM + SIZEOF(.text) + SIZEOF(.tors)) 32 { 33 *(.data) 34 _edata = . ; 35 } > ram 36 .bss : 37 AT ( ROM + SIZEOF(.text) + SIZEOF(.tors) + SIZEOF(.data)) 38 { 39 _bss_start = . ; 40 *(.bss) 41 *(COMMON) 42 _end = . ; 43 } > ram 44 } 45