blob: 2502a0db2b147716bc0f99e92df2f00c46c4274c [file] [log] [blame]
Michal Simek952d5142007-03-11 13:42:58 +01001/*
2 * (C) Copyright 2004 Atmark Techno, Inc.
3 *
4 * Yasushi SHOJI <yashi@atmark-techno.com>
5 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Michal Simek952d5142007-03-11 13:42:58 +01007 */
8
9OUTPUT_ARCH(microblaze)
10ENTRY(_start)
11
12SECTIONS
13{
14 .text ALIGN(0x4):
15 {
16 __text_start = .;
Peter Tyserdb60bd22010-04-12 22:28:16 -050017 arch/microblaze/cpu/start.o (.text)
Michal Simek952d5142007-03-11 13:42:58 +010018 *(.text)
19 __text_end = .;
20 }
21
22 .rodata ALIGN(0x4):
23 {
24 __rodata_start = .;
Trent Piepho4438e5e2009-02-18 15:22:05 -080025 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
Michal Simek952d5142007-03-11 13:42:58 +010026 __rodata_end = .;
27 }
28
29 .data ALIGN(0x4):
30 {
31 __data_start = .;
32 *(.data)
33 __data_end = .;
34 }
35
Michal Simek65e915c2014-05-08 16:08:44 +020036 .got ALIGN(4):
37 {
38 _got_start = .;
39 *(.got*)
40 . = ALIGN(4);
41 _got_end = .;
42 }
43
Marek Vasut607092a2012-10-12 10:27:03 +000044 . = ALIGN(4);
45 .u_boot_list : {
Albert ARIBAUDc24895e2013-02-25 00:59:00 +000046 KEEP(*(SORT(.u_boot_list*)));
Marek Vasut607092a2012-10-12 10:27:03 +000047 }
Michal Simek65e915c2014-05-08 16:08:44 +020048 __init_end = . ;
Marek Vasut607092a2012-10-12 10:27:03 +000049
Michal Simek952d5142007-03-11 13:42:58 +010050 .bss ALIGN(0x4):
51 {
52 __bss_start = .;
Michal Simekee64ff02009-08-14 17:02:35 +020053 *(.sbss)
54 *(.scommon)
Michal Simek952d5142007-03-11 13:42:58 +010055 *(.bss)
Michal Simekee64ff02009-08-14 17:02:35 +020056 *(COMMON)
Selvamuthukumard2454ba2008-10-16 22:54:03 +053057 . = ALIGN(4);
Michal Simek952d5142007-03-11 13:42:58 +010058 __bss_end = .;
59 }
Michal Simek1f0c40c2007-03-26 01:39:07 +020060 __end = . ;
Michal Simek952d5142007-03-11 13:42:58 +010061}