blob: 928264334989d3de96b33c940c22ffb7707eb8fd [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Michal Simek76316a32007-03-11 13:42:58 +01002/*
3 * (C) Copyright 2004 Atmark Techno, Inc.
4 *
5 * Yasushi SHOJI <yashi@atmark-techno.com>
Michal Simek76316a32007-03-11 13:42:58 +01006 */
7
8OUTPUT_ARCH(microblaze)
9ENTRY(_start)
10
11SECTIONS
12{
13 .text ALIGN(0x4):
14 {
15 __text_start = .;
Peter Tyser6260fb02010-04-12 22:28:16 -050016 arch/microblaze/cpu/start.o (.text)
Michal Simek76316a32007-03-11 13:42:58 +010017 *(.text)
18 __text_end = .;
19 }
20
21 .rodata ALIGN(0x4):
22 {
23 __rodata_start = .;
Trent Piephof62fb992009-02-18 15:22:05 -080024 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
Michal Simek76316a32007-03-11 13:42:58 +010025 __rodata_end = .;
26 }
27
28 .data ALIGN(0x4):
29 {
30 __data_start = .;
31 *(.data)
32 __data_end = .;
33 }
34
Michal Simeke945f6d2014-05-08 16:08:44 +020035 .got ALIGN(4):
36 {
37 _got_start = .;
38 *(.got*)
39 . = ALIGN(4);
40 _got_end = .;
41 }
42
Marek Vasut55675142012-10-12 10:27:03 +000043 . = ALIGN(4);
44 .u_boot_list : {
Albert ARIBAUDef123c52013-02-25 00:59:00 +000045 KEEP(*(SORT(.u_boot_list*)));
Marek Vasut55675142012-10-12 10:27:03 +000046 }
Michal Simeke945f6d2014-05-08 16:08:44 +020047 __init_end = . ;
Marek Vasut55675142012-10-12 10:27:03 +000048
Michal Simek76316a32007-03-11 13:42:58 +010049 .bss ALIGN(0x4):
50 {
51 __bss_start = .;
Michal Simekaedb4682009-08-14 17:02:35 +020052 *(.sbss)
53 *(.scommon)
Michal Simek76316a32007-03-11 13:42:58 +010054 *(.bss)
Michal Simekaedb4682009-08-14 17:02:35 +020055 *(COMMON)
Selvamuthukumar9b827cf2008-10-16 22:54:03 +053056 . = ALIGN(4);
Michal Simek76316a32007-03-11 13:42:58 +010057 __bss_end = .;
58 }
Michal Simek17980492007-03-26 01:39:07 +020059 __end = . ;
Michal Simek76316a32007-03-11 13:42:58 +010060}