blob: ad056b3900bae8fd08ca6367bc830d2c229c146b [file] [log] [blame]
Hans-Christian Egtvedt0eb57172008-08-06 14:42:13 +02001/* -*- Fundamental -*-
2 *
3 * Copyright (C) 2008 Atmel Corporation
4 *
5 * See file CREDITS for list of people who contributed to this project.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; either version 2 of the License, or (at your option)
10 * any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * more details.
16 *
17 * You should have received a copy of the GNU General Public License along with
18 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
19 * Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21OUTPUT_FORMAT("elf32-avr32", "elf32-avr32", "elf32-avr32")
22OUTPUT_ARCH(avr32)
23ENTRY(_start)
24
25SECTIONS
26{
27 . = 0;
28 _text = .;
29 .text : {
30 *(.exception.text)
31 *(.text)
32 *(.text.*)
33 }
34 _etext = .;
35
36 .rodata : {
37 *(.rodata)
38 *(.rodata.*)
39 }
40
41 . = ALIGN(8);
42 _data = .;
43 .data : {
44 *(.data)
45 *(.data.*)
46 }
47
48 . = ALIGN(4);
49 __u_boot_cmd_start = .;
50 .u_boot_cmd : {
51 KEEP(*(.u_boot_cmd))
52 }
53 __u_boot_cmd_end = .;
54
55 . = ALIGN(4);
56 _got = .;
57 .got : {
58 *(.got)
59 }
60 _egot = .;
61
62 . = ALIGN(8);
63 _edata = .;
64
65 .bss (NOLOAD) : {
66 *(.bss)
67 *(.bss.*)
68 }
69 . = ALIGN(8);
70 _end = .;
71}