]>
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) | |
2f16ac9d AB |
16 | *(.text*) |
17 | } | |
18 | ||
19 | . = ALIGN(4); | |
20 | .text_end : | |
21 | { | |
22 | *(.__text_end) | |
23 | } | |
24 | ||
20a58ac0 IG |
25 | . = ALIGN(1024); |
26 | .ivt_start : { | |
27 | *(.__ivt_start) | |
28 | } | |
29 | ||
30 | .ivt : | |
31 | { | |
32 | *(.ivt) | |
33 | } | |
34 | ||
35 | .ivt_end : { | |
36 | *(.__ivt_end) | |
37 | } | |
38 | ||
2f16ac9d AB |
39 | . = ALIGN(4); |
40 | .rodata : { | |
41 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) | |
42 | } | |
43 | ||
44 | . = ALIGN(4); | |
45 | .data : { | |
46 | *(.data*) | |
47 | } | |
48 | ||
49 | . = ALIGN(4); | |
50 | .u_boot_list : { | |
51 | KEEP(*(SORT(.u_boot_list*))); | |
52 | } | |
53 | ||
54 | . = ALIGN(4); | |
55 | .rel_dyn_start : { | |
56 | *(.__rel_dyn_start) | |
57 | } | |
58 | ||
59 | .rela.dyn : { | |
60 | *(.rela.dyn) | |
61 | } | |
62 | ||
63 | .rel_dyn_end : { | |
64 | *(.__rel_dyn_end) | |
65 | } | |
66 | ||
67 | . = ALIGN(4); | |
68 | .bss_start : { | |
69 | *(.__bss_start); | |
70 | } | |
71 | ||
72 | .bss : { | |
73 | *(.bss*) | |
74 | } | |
75 | ||
76 | .bss_end : { | |
77 | *(.__bss_end); | |
78 | } | |
79 | ||
80 | . = ALIGN(4); | |
81 | .image_copy_end : { | |
82 | *(.__image_copy_end) | |
83 | *(.__init_end) | |
84 | } | |
85 | } |