xref: /openbmc/u-boot/arch/microblaze/cpu/u-boot.lds (revision 8729d582)
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		*(.data)
33		__data_end = .;
34	}
35
36	.got ALIGN(4):
37	{
38		_got_start = .;
39		*(.got*)
40		. = ALIGN(4);
41		_got_end = .;
42	}
43
44	. = ALIGN(4);
45	.u_boot_list : {
46		KEEP(*(SORT(.u_boot_list*)));
47	}
48	__init_end = . ;
49
50	.bss ALIGN(0x4):
51	{
52		__bss_start = .;
53		*(.sbss)
54		*(.scommon)
55		*(.bss)
56		*(COMMON)
57		. = ALIGN(4);
58		__bss_end = .;
59	}
60	__end = . ;
61}
62