xref: /netbsd-src/sys/arch/arm/conf/kern.ldscript.tail (revision 6d322f2f4598f0d8a138f10ea648ec4fabe41f8b)
1/*	$NetBSD: kern.ldscript.tail,v 1.3 2013/12/24 17:03:07 matt Exp $	*/
2
3  } =0
4  PROVIDE (__etext = .);
5  PROVIDE (_etext = .);
6  PROVIDE (etext = .);
7  . = ALIGN(0x1000);
8  .data :
9  {
10    __data_start = . ;
11    *(.data)
12    *(.data.*)
13    *(.sdata)
14    *(.sdata.*)
15  }
16  . = ALIGN(8);
17  _edata = .;
18  PROVIDE (edata = .);
19  __bss_start = .;
20  __bss_start__ = .;
21  .bss       :
22  {
23   *(.dynbss)
24   *(.bss)
25   *(.bss.*)
26   *(COMMON)
27   /* Align here to ensure that the .bss section occupies space up to
28      _end.  Align after .bss to ensure correct alignment even if the
29      .bss section disappears because there are no input sections.  */
30   . = ALIGN(32 / 8);
31  }
32  . = ALIGN(32 / 8);
33  _end = .;
34  _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
35  PROVIDE (end = .);
36}
37