blob: 3e6204de32ea451edeee58d3588665c799d127e7 [file] [log] [blame]
Michal Simek76316a32007-03-11 13:42:58 +01001/*
2 * (C) Copyright 2004 Atmark Techno, Inc.
3 *
4 * Yasushi SHOJI <yashi@atmark-techno.com>
5 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Michal Simek76316a32007-03-11 13:42:58 +01007 */
8
9OUTPUT_ARCH(microblaze)
10ENTRY(_start)
11
12SECTIONS
13{
14 .text ALIGN(0x4):
15 {
16 __text_start = .;
Peter Tyser6260fb02010-04-12 22:28:16 -050017 arch/microblaze/cpu/start.o (.text)
Michal Simek76316a32007-03-11 13:42:58 +010018 *(.text)
19 __text_end = .;
20 }
21
22 .rodata ALIGN(0x4):
23 {
24 __rodata_start = .;
Trent Piephof62fb992009-02-18 15:22:05 -080025 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
Michal Simek76316a32007-03-11 13:42:58 +010026 __rodata_end = .;
27 }
28
29 .data ALIGN(0x4):
30 {
31 __data_start = .;
Michal Simekb3e5cd12012-09-26 14:24:05 +020032#ifdef CONFIG_OF_EMBED
Michal Simekb710d9d2012-06-28 14:34:32 +020033 dts/libdts.o (.data)
Michal Simekb3e5cd12012-09-26 14:24:05 +020034#endif
Michal Simek76316a32007-03-11 13:42:58 +010035 *(.data)
36 __data_end = .;
37 }
38
Marek Vasut55675142012-10-12 10:27:03 +000039 . = ALIGN(4);
40 .u_boot_list : {
Albert ARIBAUDef123c52013-02-25 00:59:00 +000041 KEEP(*(SORT(.u_boot_list*)));
Marek Vasut55675142012-10-12 10:27:03 +000042 }
43
Michal Simek76316a32007-03-11 13:42:58 +010044 .bss ALIGN(0x4):
45 {
46 __bss_start = .;
Michal Simekaedb4682009-08-14 17:02:35 +020047 *(.sbss)
48 *(.scommon)
Michal Simek76316a32007-03-11 13:42:58 +010049 *(.bss)
Michal Simekaedb4682009-08-14 17:02:35 +020050 *(COMMON)
Selvamuthukumar9b827cf2008-10-16 22:54:03 +053051 . = ALIGN(4);
Michal Simek76316a32007-03-11 13:42:58 +010052 __bss_end = .;
53 }
Michal Simek17980492007-03-26 01:39:07 +020054 __end = . ;
Michal Simek76316a32007-03-11 13:42:58 +010055}