Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 1 | /* |
2 | * (C) Copyright 2002 | ||||
3 | * Gary Jennejohn, DENX Software Engineering, <gj@denx.de> | ||||
4 | * | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 6 | */ |
7 | |||||
8 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") | ||||
9 | OUTPUT_ARCH(arm) | ||||
10 | ENTRY(_start) | ||||
11 | SECTIONS | ||||
12 | { | ||||
13 | . = 0x00000000; | ||||
14 | |||||
15 | . = ALIGN(4); | ||||
16 | .text : | ||||
17 | { | ||||
Albert ARIBAUD | c53687e | 2013-06-11 14:17:33 +0200 | [diff] [blame] | 18 | *(.__image_copy_start) |
Albert ARIBAUD | 9852cc6 | 2014-04-15 16:13:51 +0200 | [diff] [blame^] | 19 | *(.vectors) |
20 | arch/arm/cpu/arm920t/start.o (.text*) | ||||
Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 21 | /* the EP93xx expects to find the pattern 'CRUS' at 0x1000 */ |
22 | . = 0x1000; | ||||
23 | LONG(0x53555243) | ||||
Benoît Thébaudeau | 3954db8 | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 24 | *(.text*) |
Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 25 | } |
26 | |||||
27 | . = ALIGN(4); | ||||
Benoît Thébaudeau | 3954db8 | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 28 | .rodata : { *(.rodata*) } |
Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 29 | |
30 | . = ALIGN(4); | ||||
Benoît Thébaudeau | 3954db8 | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 31 | .data : { *(.data*) } |
Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 32 | |
33 | . = ALIGN(4); | ||||
34 | .got : { *(.got) } | ||||
35 | |||||
36 | . = .; | ||||
Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 37 | |
38 | . = ALIGN(4); | ||||
Marek Vasut | 607092a | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 39 | .u_boot_list : { |
Albert ARIBAUD | c24895e | 2013-02-25 00:59:00 +0000 | [diff] [blame] | 40 | KEEP(*(SORT(.u_boot_list*))); |
Marek Vasut | 607092a | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 41 | } |
42 | |||||
43 | . = ALIGN(4); | ||||
Benoît Thébaudeau | 03bae03 | 2013-04-11 09:35:46 +0000 | [diff] [blame] | 44 | |
Albert ARIBAUD | c53687e | 2013-06-11 14:17:33 +0200 | [diff] [blame] | 45 | .image_copy_end : |
46 | { | ||||
47 | *(.__image_copy_end) | ||||
48 | } | ||||
Benoît Thébaudeau | 03bae03 | 2013-04-11 09:35:46 +0000 | [diff] [blame] | 49 | |
Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 50 | __bss_start = .; |
Benoît Thébaudeau | 3954db8 | 2013-04-11 09:36:03 +0000 | [diff] [blame] | 51 | .bss : { *(.bss*) } |
Simon Glass | ed70c8f | 2013-03-14 06:54:53 +0000 | [diff] [blame] | 52 | __bss_end = .; |
Po-Yu Chuang | 1864b00 | 2011-03-01 23:02:04 +0000 | [diff] [blame] | 53 | |
Albert ARIBAUD | 9d25fa4 | 2014-02-22 17:53:42 +0100 | [diff] [blame] | 54 | .end : |
55 | { | ||||
56 | *(.__end) | ||||
57 | } | ||||
Matthias Kaehlcke | 195dbd1 | 2010-02-01 21:29:39 +0100 | [diff] [blame] | 58 | } |