Home | History | Annotate | Line # | Download | only in conf
kern.ldscript revision 1.1.142.1
      1        1.1  cherry /* $FreeBSD$ */
      2        1.1  cherry OUTPUT_FORMAT("elf64-ia64-little", "elf64-ia64-little", "elf64-ia64-little")
      3        1.1  cherry OUTPUT_ARCH(ia64)
      4        1.1  cherry ENTRY(start)
      5        1.1  cherry kernel_text = 0xe000000004000000;
      6        1.1  cherry SECTIONS
      7        1.1  cherry {
      8        1.1  cherry   /* Read-only sections, merged into text segment: */
      9        1.1  cherry   . = kernel_text + SIZEOF_HEADERS;
     10        1.1  cherry   PROVIDE (btext = .);
     11        1.1  cherry   .plt            : { *(.plt) }
     12        1.1  cherry   .text           :
     13        1.1  cherry   {
     14        1.1  cherry     *(.text .stub .text.* .gnu.linkonce.t.*)
     15        1.1  cherry     /* .gnu.warning sections are handled specially by elf32.em.  */
     16        1.1  cherry     *(.gnu.warning)
     17        1.1  cherry   } =0x00300000010070000002000001000400
     18        1.1  cherry   _etext = .;
     19        1.1  cherry   PROVIDE (etext = .);
     20        1.1  cherry   .rodata         : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
     21        1.1  cherry   .rodata1        : { *(.rodata1) }
     22        1.1  cherry   .sdata2         : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) }
     23        1.1  cherry   .sbss2          : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) }
     24        1.1  cherry   .opd            : { *(.opd) }
     25        1.1  cherry   .IA_64.unwind_info   : { *(.IA_64.unwind_info* .gnu.linkonce.ia64unwi.*) }
     26        1.1  cherry   .IA_64.unwind   : { *(.IA_64.unwind* .gnu.linkonce.ia64unw.*) }
     27        1.1  cherry   /* Adjust the address for the data segment.  We want to adjust up to
     28        1.1  cherry      the same address within the page on the next page up.  */
     29        1.1  cherry   . = . + 8192;
     30        1.1  cherry   .data           :
     31        1.1  cherry   {
     32        1.1  cherry     *(.data.proc0 .data .data.* .gnu.linkonce.d.*)
     33        1.1  cherry     SORT(CONSTRUCTORS)
     34        1.1  cherry   }
     35        1.1  cherry   .data1          : { *(.data1) }
     36        1.1  cherry   .dynamic        : { *(.dynamic) }
     37        1.1  cherry   . = ALIGN(16);
     38        1.1  cherry   __gp = . + 0x200000;
     39        1.1  cherry   .got            : { *(.got.plt) *(.got) }
     40        1.1  cherry   .IA_64.pltoff   : { *(.IA_64.pltoff) }
     41        1.1  cherry   /* We want the small data sections together, so single-instruction offsets
     42        1.1  cherry      can access them all, and initialized data all before uninitialized, so
     43        1.1  cherry      we can shorten the on-disk segment size.  */
     44        1.1  cherry   .sdata          :
     45        1.1  cherry   {
     46        1.1  cherry     *(.sdata .sdata.* .gnu.linkonce.s.*)
     47        1.1  cherry   }
     48        1.1  cherry   _edata = .;
     49        1.1  cherry   PROVIDE (edata = .);
     50        1.1  cherry   __bss_start = .;
     51        1.1  cherry   .sbss           :
     52        1.1  cherry   {
     53        1.1  cherry     PROVIDE (__sbss_start = .);
     54        1.1  cherry     PROVIDE (___sbss_start = .);
     55        1.1  cherry     *(.dynsbss)
     56        1.1  cherry     *(.sbss .sbss.* .gnu.linkonce.sb.*)
     57        1.1  cherry     *(.scommon)
     58        1.1  cherry     PROVIDE (__sbss_end = .);
     59        1.1  cherry     PROVIDE (___sbss_end = .);
     60        1.1  cherry   }
     61        1.1  cherry   .bss            :
     62        1.1  cherry   {
     63  1.1.142.1   skrll     *(.dynbss)
     64  1.1.142.1   skrll     *(.bss .bss.* .gnu.linkonce.b.*)
     65  1.1.142.1   skrll     *(COMMON)
     66  1.1.142.1   skrll     /* Align here to ensure that the .bss section occupies space up to
     67  1.1.142.1   skrll        _end.  Align after .bss to ensure correct alignment even if the
     68  1.1.142.1   skrll        .bss section disappears because there are no input sections.  */
     69  1.1.142.1   skrll     . = ALIGN(64 / 8);
     70        1.1  cherry   }
     71        1.1  cherry   . = ALIGN(64 / 8);
     72        1.1  cherry   _end = .;
     73        1.1  cherry   PROVIDE (end = .);
     74        1.1  cherry }
     75