Home | History | Annotate | Line # | Download | only in conf
kern.ldscript revision 1.1.4.2
      1  1.1.4.2  he /*	$NetBSD: kern.ldscript,v 1.1.4.2 2002/12/12 22:19:25 he Exp $	*/
      2  1.1.4.2  he 
      3  1.1.4.2  he OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
      4  1.1.4.2  he 	      "elf32-littlearm")
      5  1.1.4.2  he OUTPUT_ARCH(arm)
      6  1.1.4.2  he SECTIONS
      7  1.1.4.2  he {
      8  1.1.4.2  he   . = 0xf0000020;	/* 0x20 == sizeof(a.out header) */
      9  1.1.4.2  he 
     10  1.1.4.2  he   /* Read-only sections, merged into text segment: */
     11  1.1.4.2  he   .text :
     12  1.1.4.2  he   {
     13  1.1.4.2  he     *(.text)
     14  1.1.4.2  he     *(.text.*)
     15  1.1.4.2  he     *(.stub)
     16  1.1.4.2  he     *(.glue_7t) *(.glue_7)
     17  1.1.4.2  he     *(.rodata) *(.rodata.*)
     18  1.1.4.2  he   } =0
     19  1.1.4.2  he   PROVIDE (__etext = .);
     20  1.1.4.2  he   PROVIDE (_etext = .);
     21  1.1.4.2  he   PROVIDE (etext = .);
     22  1.1.4.2  he   . = ALIGN(0x1000);
     23  1.1.4.2  he   .data :
     24  1.1.4.2  he   {
     25  1.1.4.2  he     __data_start = . ;
     26  1.1.4.2  he     *(.data)
     27  1.1.4.2  he     *(.data.*)
     28  1.1.4.2  he     *(.sdata)
     29  1.1.4.2  he     *(.sdata.*)
     30  1.1.4.2  he   }
     31  1.1.4.2  he   _edata = .;
     32  1.1.4.2  he   PROVIDE (edata = .);
     33  1.1.4.2  he   __bss_start = .;
     34  1.1.4.2  he   __bss_start__ = .;
     35  1.1.4.2  he   .bss       :
     36  1.1.4.2  he   {
     37  1.1.4.2  he    *(.dynbss)
     38  1.1.4.2  he    *(.bss)
     39  1.1.4.2  he    *(.bss.*)
     40  1.1.4.2  he    *(COMMON)
     41  1.1.4.2  he    /* Align here to ensure that the .bss section occupies space up to
     42  1.1.4.2  he       _end.  Align after .bss to ensure correct alignment even if the
     43  1.1.4.2  he       .bss section disappears because there are no input sections.  */
     44  1.1.4.2  he    . = ALIGN(32 / 8);
     45  1.1.4.2  he   }
     46  1.1.4.2  he   . = ALIGN(32 / 8);
     47  1.1.4.2  he   _end = .;
     48  1.1.4.2  he   _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
     49  1.1.4.2  he   PROVIDE (end = .);
     50  1.1.4.2  he }
     51