Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 1 | /* -*- Fundamental -*- |
2 | * | ||||
3 | * Copyright (C) 2005-2006 Atmel Corporation | ||||
4 | * | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 6 | */ |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 7 | OUTPUT_FORMAT("elf32-avr32", "elf32-avr32", "elf32-avr32") |
8 | OUTPUT_ARCH(avr32) | ||||
9 | ENTRY(_start) | ||||
10 | |||||
11 | SECTIONS | ||||
12 | { | ||||
Haavard Skinnemoen | 79f35b9 | 2006-10-25 15:48:59 +0200 | [diff] [blame] | 13 | . = 0; |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 14 | _text = .; |
15 | .text : { | ||||
Haavard Skinnemoen | 2b56a4b | 2008-05-02 15:32:57 +0200 | [diff] [blame] | 16 | *(.exception.text) |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 17 | *(.text) |
18 | *(.text.*) | ||||
19 | } | ||||
Haavard Skinnemoen | abf19bf | 2006-11-20 15:53:10 +0100 | [diff] [blame] | 20 | _etext = .; |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 21 | |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 22 | .rodata : { |
Trent Piepho | 4438e5e | 2009-02-18 15:22:05 -0800 | [diff] [blame] | 23 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 24 | } |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 25 | |
Haavard Skinnemoen | abf19bf | 2006-11-20 15:53:10 +0100 | [diff] [blame] | 26 | . = ALIGN(8); |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 27 | _data = .; |
Haavard Skinnemoen | abf19bf | 2006-11-20 15:53:10 +0100 | [diff] [blame] | 28 | .data : { |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 29 | *(.data) |
30 | *(.data.*) | ||||
31 | } | ||||
32 | |||||
33 | . = ALIGN(4); | ||||
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 34 | |
Haavard Skinnemoen | abf19bf | 2006-11-20 15:53:10 +0100 | [diff] [blame] | 35 | . = ALIGN(4); |
Marek Vasut | 607092a | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 36 | .u_boot_list : { |
Albert ARIBAUD | c24895e | 2013-02-25 00:59:00 +0000 | [diff] [blame] | 37 | KEEP(*(SORT(.u_boot_list*))); |
Marek Vasut | 607092a | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 38 | } |
39 | |||||
40 | . = ALIGN(4); | ||||
Haavard Skinnemoen | abf19bf | 2006-11-20 15:53:10 +0100 | [diff] [blame] | 41 | _got = .; |
42 | .got : { | ||||
43 | *(.got) | ||||
44 | } | ||||
45 | _egot = .; | ||||
46 | |||||
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 47 | . = ALIGN(8); |
48 | _edata = .; | ||||
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 49 | |
Wolfgang Denk | 828a978 | 2008-01-12 20:31:39 +0100 | [diff] [blame] | 50 | .bss (NOLOAD) : { |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 51 | *(.bss) |
52 | *(.bss.*) | ||||
53 | } | ||||
54 | . = ALIGN(8); | ||||
Simon Glass | ed70c8f | 2013-03-14 06:54:53 +0000 | [diff] [blame] | 55 | __bss_end = .; |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 56 | } |