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