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