xref: /rk3399_rockchip-uboot/arch/microblaze/cpu/u-boot.lds (revision 2c7c32fa7f025a87cfdb4afce4a6dda78a8c5582)
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	. = ALIGN(4);
37	.u_boot_list : {
38		KEEP(*(SORT(.u_boot_list*)));
39	}
40
41	.bss ALIGN(0x4):
42	{
43		__bss_start = .;
44		*(.sbss)
45		*(.scommon)
46		*(.bss)
47		*(COMMON)
48		. = ALIGN(4);
49		__bss_end = .;
50	}
51	__end = . ;
52}
53