blob: 693df74061f5c1203f18668a832fb7464abce999 [file] [log] [blame]
Alexey Brodkin2f16ac92014-02-04 12:56:14 +04001/*
2 * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
8OUTPUT_ARCH(arc)
9ENTRY(_start)
10SECTIONS
11{
12 . = ALIGN(4);
13 .text : {
14 *(.__text_start)
15 *(.__image_copy_start)
Alexey Brodkin89576072015-04-10 18:41:58 +030016 arch/arc/lib/start.o (.text*)
Alexey Brodkin2f16ac92014-02-04 12:56:14 +040017 *(.text*)
18 }
19
20 . = ALIGN(4);
21 .text_end :
22 {
23 *(.__text_end)
24 }
25
Igor Guryanov20a58ac2014-12-24 17:17:11 +030026 . = ALIGN(1024);
27 .ivt_start : {
28 *(.__ivt_start)
29 }
30
31 .ivt :
32 {
33 *(.ivt)
34 }
35
36 .ivt_end : {
37 *(.__ivt_end)
38 }
39
Alexey Brodkin2f16ac92014-02-04 12:56:14 +040040 . = ALIGN(4);
41 .rodata : {
42 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
43 }
44
45 . = ALIGN(4);
46 .data : {
47 *(.data*)
48 }
49
50 . = ALIGN(4);
51 .u_boot_list : {
52 KEEP(*(SORT(.u_boot_list*)));
53 }
54
55 . = ALIGN(4);
56 .rel_dyn_start : {
57 *(.__rel_dyn_start)
58 }
59
60 .rela.dyn : {
61 *(.rela.dyn)
62 }
63
64 .rel_dyn_end : {
65 *(.__rel_dyn_end)
66 }
67
68 . = ALIGN(4);
69 .bss_start : {
70 *(.__bss_start);
71 }
72
73 .bss : {
74 *(.bss*)
75 }
76
77 .bss_end : {
78 *(.__bss_end);
79 }
80
81 . = ALIGN(4);
82 .image_copy_end : {
83 *(.__image_copy_end)
84 *(.__init_end)
85 }
86}