xref: /openbmc/u-boot/arch/microblaze/cpu/u-boot.lds (revision 3765b3e7)
1/*
2 * (C) Copyright 2004 Atmark Techno, Inc.
3 *
4 * Yasushi SHOJI <yashi@atmark-techno.com>
5 *
6 * SPDX-License-Identifier:	GPL-2.0+
7 */
8
9OUTPUT_ARCH(microblaze)
10ENTRY(_start)
11
12SECTIONS
13{
14	.text ALIGN(0x4):
15	{
16		__text_start = .;
17		arch/microblaze/cpu/start.o (.text)
18		*(.text)
19		__text_end = .;
20	}
21
22	.rodata ALIGN(0x4):
23	{
24		__rodata_start = .;
25		*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
26		__rodata_end = .;
27	}
28
29	.data ALIGN(0x4):
30	{
31		__data_start = .;
32#ifdef CONFIG_OF_EMBED
33		dts/libdts.o (.data)
34#endif
35		*(.data)
36		__data_end = .;
37	}
38
39	. = ALIGN(4);
40	.u_boot_list : {
41		KEEP(*(SORT(.u_boot_list*)));
42	}
43
44	.bss ALIGN(0x4):
45	{
46		__bss_start = .;
47		*(.sbss)
48		*(.scommon)
49		*(.bss)
50		*(COMMON)
51		. = ALIGN(4);
52		__bss_end = .;
53	}
54	__end = . ;
55}
56