Home | History | Annotate | Line # | Download | only in conf
kern.ldscript.Xen revision 1.2
      1 /*	$NetBSD: kern.ldscript.Xen,v 1.2 2006/12/02 04:49:38 christos Exp $	*/
      2 
      3 OUTPUT_FORMAT("elf32-i386", "elf32-i386",
      4 	      "elf32-i386")
      5 OUTPUT_ARCH(i386)
      6 SECTIONS
      7 {
      8    /* Read-only sections, merged into text segment: */
      9    .text :
     10    {
     11      *(.text)
     12      *(.text.*)
     13      *(.stub)
     14      *(.rodata)
     15    } =0
     16    _etext = . ;
     17    PROVIDE (etext = .) ;
     18 
     19    /* Adjust the address for the data segment.  We want to adjust up to
     20       the same address within the page on the next page up.  */
     21    . = ALIGN(0x1000) + (. & (0x1000 - 1));
     22    .data :
     23    {
     24      *(.data)
     25      *(.data.*)
     26    }
     27    _edata = . ;
     28    PROVIDE (edata = .) ;
     29    __bss_start = . ;
     30    .bss :
     31    {
     32      *(.bss)
     33      *(.bss.*)
     34      *(COMMON)
     35      . = ALIGN(32 / 8);
     36    }
     37    . = ALIGN(32 / 8);
     38   _end = . ;
     39   PROVIDE (end = .) ;
     40   .note.netbsd.ident :
     41   {
     42     KEEP(*(.note.netbsd.ident));
     43   }
     44 }
     45