]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/boot/arm/at91/boot0/linker.cfg
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / boot / arm / at91 / boot0 / linker.cfg
1 /*******************************************************************************
2  *
3  * Filename: linker.cfg
4  *
5  * linker config file used for internal RAM or eeprom images at address 0.
6  *
7  * Revision information:
8  *
9  * 20AUG2004    kb_admin        initial creation
10  * 12JAN2005    kb_admin        move data to SDRAM
11  *
12  * BEGIN_KBDD_BLOCK
13  * No warranty, expressed or implied, is included with this software.  It is
14  * provided "AS IS" and no warranty of any kind including statutory or aspects
15  * relating to merchantability or fitness for any purpose is provided.  All
16  * intellectual property rights of others is maintained with the respective
17  * owners.  This software is not copyrighted and is intended for reference
18  * only.
19  * END_BLOCK
20  *
21  * $FreeBSD$
22  ******************************************************************************/
23 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
24               "elf32-littlearm")
25 OUTPUT_ARCH(arm)
26 ENTRY(start)
27 SECTIONS
28 {
29   /* Read-only sections, merged into text segment: */
30   . = 0;
31   .text      :
32   {
33     *(.text)
34     *(.text.*)
35     *(.stub)
36     /* .gnu.warning sections are handled specially by elf32.em.  */
37     *(.gnu.warning)
38     *(.gnu.linkonce.t.*)
39     *(.glue_7t) *(.glue_7)
40   }
41   PROVIDE (__etext = .);
42   PROVIDE (_etext = .);
43   PROVIDE (etext = .);
44   .data    :
45   {
46     __data_start = . ;
47     *(.data)
48     *(.data.*)
49     *(.gnu.linkonce.d.*)
50     SORT(CONSTRUCTORS)
51   }
52   _edata = .;
53   PROVIDE (edata = .);
54   __bss_start = .;
55   __bss_start__ = .;
56   .sbss      :
57   {
58     PROVIDE (__sbss_start = .);
59     PROVIDE (___sbss_start = .);
60     *(.dynsbss)
61     *(.sbss)
62     *(.sbss.*)
63     *(.gnu.linkonce.sb.*)
64     *(.scommon)
65     PROVIDE (__sbss_end = .);
66     PROVIDE (___sbss_end = .);
67   }
68   .bss       :
69   {
70    *(.dynbss)
71    *(.bss)
72    *(.bss.*)
73    *(.gnu.linkonce.b.*)
74    *(COMMON)
75    /* Align here to ensure that the .bss section occupies space up to
76       _end.  Align after .bss to ensure correct alignment even if the
77       .bss section disappears because there are no input sections.  */
78    . = ALIGN(32 / 8);
79   }
80   . = ALIGN(32 / 8);
81   _end = .;
82   _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
83   PROVIDE (end = .);
84 }