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