11.3Suebayasi/*	$NetBSD: kern.ldscript,v 1.5 2015/08/23 08:57:25 uebayasi Exp $	*/
21.1Sthorpej
31.1SthorpejSECTIONS
41.1Sthorpej{
51.1Sthorpej  . = 0xf0000020;	/* 0x20 == sizeof(a.out header) */
61.1Sthorpej
71.1Sthorpej  /* Read-only sections, merged into text segment: */
81.1Sthorpej  .text :
91.1Sthorpej  {
101.1Sthorpej    *(.text)
111.1Sthorpej    *(.text.*)
121.1Sthorpej    *(.stub)
131.1Sthorpej    *(.glue_7t) *(.glue_7)
141.1Sthorpej    *(.rodata) *(.rodata.*)
151.1Sthorpej  } =0
161.1Sthorpej  PROVIDE (__etext = .);
171.1Sthorpej  PROVIDE (_etext = .);
181.1Sthorpej  PROVIDE (etext = .);
191.1Sthorpej  . = ALIGN(0x1000);
201.1Sthorpej  .data :
211.1Sthorpej  {
221.1Sthorpej    __data_start = . ;
231.1Sthorpej    *(.data)
241.1Sthorpej    *(.data.*)
251.1Sthorpej    *(.sdata)
261.1Sthorpej    *(.sdata.*)
271.1Sthorpej  }
281.1Sthorpej  _edata = .;
291.1Sthorpej  PROVIDE (edata = .);
301.1Sthorpej  __bss_start = .;
311.1Sthorpej  __bss_start__ = .;
321.1Sthorpej  .bss       :
331.1Sthorpej  {
341.3Suebayasi    *(.dynbss)
351.3Suebayasi    *(.bss)
361.3Suebayasi    *(.bss.*)
371.3Suebayasi    *(COMMON)
381.3Suebayasi    /* Align here to ensure that the .bss section occupies space up to
391.3Suebayasi       _end.  Align after .bss to ensure correct alignment even if the
401.3Suebayasi       .bss section disappears because there are no input sections.  */
411.3Suebayasi    . = ALIGN(32 / 8);
421.1Sthorpej  }
431.1Sthorpej  . = ALIGN(32 / 8);
441.1Sthorpej  _end = .;
451.1Sthorpej  _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
461.1Sthorpej  PROVIDE (end = .);
471.1Sthorpej}
48