Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 1 | /* |
2 | * (C) Copyright 2000 | ||||
3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
4 | * | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 6 | */ |
7 | |||||
8 | OUTPUT_FORMAT ("elf32-bigarm", "elf32-bigarm", "elf32-bigarm") | ||||
9 | OUTPUT_ARCH (arm) | ||||
10 | ENTRY (_start) | ||||
11 | SECTIONS | ||||
12 | { | ||||
13 | . = 0x00000000; | ||||
14 | |||||
15 | . = ALIGN (4); | ||||
16 | .text : { | ||||
Albert ARIBAUD | c53687e | 2013-06-11 14:17:33 +0200 | [diff] [blame] | 17 | *(.__image_copy_start) |
Michael Schwingen | 5af6584 | 2011-05-23 00:00:04 +0200 | [diff] [blame] | 18 | arch/arm/cpu/ixp/start.o(.text*) |
19 | net/libnet.o(.text*) | ||||
20 | board/actux1/libactux1.o(.text*) | ||||
21 | arch/arm/cpu/ixp/libixp.o(.text*) | ||||
Tom Rini | a8381c9 | 2012-10-17 10:18:29 +0000 | [diff] [blame] | 22 | drivers/input/libinput.o(.text*) |
Michael Schwingen | 5af6584 | 2011-05-23 00:00:04 +0200 | [diff] [blame] | 23 | |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 24 | . = env_offset; |
Jean-Christophe PLAGNIOL-VILLARD | 4436c1e | 2008-09-10 22:48:01 +0200 | [diff] [blame] | 25 | common/env_embedded.o(.ppcenv) |
Michael Schwingen | 5af6584 | 2011-05-23 00:00:04 +0200 | [diff] [blame] | 26 | *(.text*) |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 27 | } |
28 | |||||
Albert ARIBAUD | 436f632 | 2013-02-25 00:58:59 +0000 | [diff] [blame] | 29 | . = ALIGN(4); |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 30 | .rodata : { |
Trent Piepho | 4438e5e | 2009-02-18 15:22:05 -0800 | [diff] [blame] | 31 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 32 | } |
Albert ARIBAUD | 436f632 | 2013-02-25 00:58:59 +0000 | [diff] [blame] | 33 | . = ALIGN(4); |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 34 | .data : { |
Michael Schwingen | 5af6584 | 2011-05-23 00:00:04 +0200 | [diff] [blame] | 35 | *(.data*) |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 36 | } |
Albert ARIBAUD | 436f632 | 2013-02-25 00:58:59 +0000 | [diff] [blame] | 37 | . = ALIGN(4); |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 38 | .got : { |
39 | *(.got) | ||||
40 | } | ||||
41 | . =.; | ||||
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 42 | |
Marek Vasut | 607092a | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 43 | . = ALIGN(4); |
44 | .u_boot_list : { | ||||
Albert ARIBAUD | c24895e | 2013-02-25 00:59:00 +0000 | [diff] [blame] | 45 | KEEP(*(SORT(.u_boot_list*))); |
Marek Vasut | 607092a | 2012-10-12 10:27:03 +0000 | [diff] [blame] | 46 | } |
47 | |||||
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 48 | . = ALIGN (4); |
Benoît Thébaudeau | 03bae03 | 2013-04-11 09:35:46 +0000 | [diff] [blame] | 49 | |
Albert ARIBAUD | c53687e | 2013-06-11 14:17:33 +0200 | [diff] [blame] | 50 | .image_copy_end : |
51 | { | ||||
52 | *(.__image_copy_end) | ||||
53 | } | ||||
Benoît Thébaudeau | 03bae03 | 2013-04-11 09:35:46 +0000 | [diff] [blame] | 54 | |
Albert ARIBAUD | af3ff16 | 2013-06-11 14:17:34 +0200 | [diff] [blame] | 55 | .rel_dyn_start : |
56 | { | ||||
57 | *(.__rel_dyn_start) | ||||
58 | } | ||||
59 | |||||
Michael Schwingen | 5af6584 | 2011-05-23 00:00:04 +0200 | [diff] [blame] | 60 | .rel.dyn : { |
Michael Schwingen | 5af6584 | 2011-05-23 00:00:04 +0200 | [diff] [blame] | 61 | *(.rel*) |
Albert ARIBAUD | af3ff16 | 2013-06-11 14:17:34 +0200 | [diff] [blame] | 62 | } |
63 | |||||
64 | .rel_dyn_end : | ||||
65 | { | ||||
66 | *(.__rel_dyn_end) | ||||
Michael Schwingen | 5af6584 | 2011-05-23 00:00:04 +0200 | [diff] [blame] | 67 | } |
68 | |||||
Albert ARIBAUD | 436f632 | 2013-02-25 00:58:59 +0000 | [diff] [blame] | 69 | _end = .; |
70 | |||||
Albert ARIBAUD | ba5662d | 2013-04-11 05:43:21 +0000 | [diff] [blame] | 71 | /* |
72 | * Compiler-generated __bss_start and __bss_end, see arch/arm/lib/bss.c | ||||
73 | * __bss_base and __bss_limit are for linker only (overlay ordering) | ||||
74 | */ | ||||
75 | |||||
Albert ARIBAUD | 436f632 | 2013-02-25 00:58:59 +0000 | [diff] [blame] | 76 | .bss_start __rel_dyn_start (OVERLAY) : { |
77 | KEEP(*(.__bss_start)); | ||||
Albert ARIBAUD | ba5662d | 2013-04-11 05:43:21 +0000 | [diff] [blame] | 78 | __bss_base = .; |
Albert ARIBAUD | 436f632 | 2013-02-25 00:58:59 +0000 | [diff] [blame] | 79 | } |
80 | |||||
Albert ARIBAUD | ba5662d | 2013-04-11 05:43:21 +0000 | [diff] [blame] | 81 | .bss __bss_base (OVERLAY) : { |
Michael Schwingen | 5af6584 | 2011-05-23 00:00:04 +0200 | [diff] [blame] | 82 | *(.bss*) |
83 | . = ALIGN(4); | ||||
Albert ARIBAUD | ba5662d | 2013-04-11 05:43:21 +0000 | [diff] [blame] | 84 | __bss_limit = .; |
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 85 | } |
Albert ARIBAUD | ba5662d | 2013-04-11 05:43:21 +0000 | [diff] [blame] | 86 | .bss_end __bss_limit (OVERLAY) : { |
87 | KEEP(*(.__bss_end)); | ||||
Albert ARIBAUD | 436f632 | 2013-02-25 00:58:59 +0000 | [diff] [blame] | 88 | } |
89 | |||||
Albert ARIBAUD | 95fc6d6 | 2013-11-07 14:21:46 +0100 | [diff] [blame^] | 90 | .dynsym _end : { *(.dynsym) } |
91 | .dynbss : { *(.dynbss) } | ||||
92 | .dynstr : { *(.dynstr*) } | ||||
93 | .dynamic : { *(.dynamic*) } | ||||
94 | .hash : { *(.hash*) } | ||||
95 | .plt : { *(.plt*) } | ||||
96 | .interp : { *(.interp*) } | ||||
97 | .gnu : { *(.gnu*) } | ||||
98 | .ARM.exidx : { *(.ARM.exidx*) } | ||||
Michael Schwingen | 4d56c88 | 2008-01-16 19:50:37 +0100 | [diff] [blame] | 99 | } |