]>
Commit | Line | Data |
---|---|---|
2f16ac9d AB |
1 | /* |
2 | * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved. | |
3 | * | |
4 | * SPDX-License-Identifier: GPL-2.0+ | |
5 | */ | |
6 | ||
7 | OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc") | |
8 | OUTPUT_ARCH(arc) | |
9 | ENTRY(_start) | |
10 | SECTIONS | |
11 | { | |
12 | . = ALIGN(4); | |
13 | .text : { | |
14 | *(.__text_start) | |
15 | *(.__image_copy_start) | |
16 | CPUDIR/start.o (.text*) | |
17 | *(.text*) | |
18 | } | |
19 | ||
20 | . = ALIGN(4); | |
21 | .text_end : | |
22 | { | |
23 | *(.__text_end) | |
24 | } | |
25 | ||
26 | . = ALIGN(4); | |
27 | .rodata : { | |
28 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) | |
29 | } | |
30 | ||
31 | . = ALIGN(4); | |
32 | .data : { | |
33 | *(.data*) | |
34 | } | |
35 | ||
36 | . = ALIGN(4); | |
37 | .u_boot_list : { | |
38 | KEEP(*(SORT(.u_boot_list*))); | |
39 | } | |
40 | ||
41 | . = ALIGN(4); | |
42 | .rel_dyn_start : { | |
43 | *(.__rel_dyn_start) | |
44 | } | |
45 | ||
46 | .rela.dyn : { | |
47 | *(.rela.dyn) | |
48 | } | |
49 | ||
50 | .rel_dyn_end : { | |
51 | *(.__rel_dyn_end) | |
52 | } | |
53 | ||
54 | . = ALIGN(4); | |
55 | .bss_start : { | |
56 | *(.__bss_start); | |
57 | } | |
58 | ||
59 | .bss : { | |
60 | *(.bss*) | |
61 | } | |
62 | ||
63 | .bss_end : { | |
64 | *(.__bss_end); | |
65 | } | |
66 | ||
67 | . = ALIGN(4); | |
68 | .image_copy_end : { | |
69 | *(.__image_copy_end) | |
70 | *(.__init_end) | |
71 | } | |
72 | } |