xref: /rk3399_rockchip-uboot/arch/microblaze/cpu/u-boot.lds (revision 2e65b44c0fcac0db608493b86e30b02e8ebafb61)
1*2e65b44cSMichal Simek/*
2*2e65b44cSMichal Simek * (C) Copyright 2004 Atmark Techno, Inc.
3*2e65b44cSMichal Simek *
4*2e65b44cSMichal Simek * Yasushi SHOJI <yashi@atmark-techno.com>
5*2e65b44cSMichal Simek *
6*2e65b44cSMichal Simek * See file CREDITS for list of people who contributed to this
7*2e65b44cSMichal Simek * project.
8*2e65b44cSMichal Simek *
9*2e65b44cSMichal Simek * This program is free software; you can redistribute it and/or
10*2e65b44cSMichal Simek * modify it under the terms of the GNU General Public License as
11*2e65b44cSMichal Simek * published by the Free Software Foundation; either version 2 of
12*2e65b44cSMichal Simek * the License, or (at your option) any later version.
13*2e65b44cSMichal Simek *
14*2e65b44cSMichal Simek * This program is distributed in the hope that it will be useful,
15*2e65b44cSMichal Simek * but WITHOUT ANY WARRANTY; without even the implied warranty of
16*2e65b44cSMichal Simek * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*2e65b44cSMichal Simek * GNU General Public License for more details.
18*2e65b44cSMichal Simek *
19*2e65b44cSMichal Simek * You should have received a copy of the GNU General Public License
20*2e65b44cSMichal Simek * along with this program; if not, write to the Free Software
21*2e65b44cSMichal Simek * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22*2e65b44cSMichal Simek * MA 02111-1307 USA
23*2e65b44cSMichal Simek */
24*2e65b44cSMichal Simek
25*2e65b44cSMichal SimekOUTPUT_ARCH(microblaze)
26*2e65b44cSMichal SimekENTRY(_start)
27*2e65b44cSMichal Simek
28*2e65b44cSMichal SimekSECTIONS
29*2e65b44cSMichal Simek{
30*2e65b44cSMichal Simek	.text ALIGN(0x4):
31*2e65b44cSMichal Simek	{
32*2e65b44cSMichal Simek		__text_start = .;
33*2e65b44cSMichal Simek		arch/microblaze/cpu/start.o (.text)
34*2e65b44cSMichal Simek		*(.text)
35*2e65b44cSMichal Simek		__text_end = .;
36*2e65b44cSMichal Simek	}
37*2e65b44cSMichal Simek
38*2e65b44cSMichal Simek	.rodata ALIGN(0x4):
39*2e65b44cSMichal Simek	{
40*2e65b44cSMichal Simek		__rodata_start = .;
41*2e65b44cSMichal Simek		*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
42*2e65b44cSMichal Simek		__rodata_end = .;
43*2e65b44cSMichal Simek	}
44*2e65b44cSMichal Simek
45*2e65b44cSMichal Simek	.data ALIGN(0x4):
46*2e65b44cSMichal Simek	{
47*2e65b44cSMichal Simek		__data_start = .;
48*2e65b44cSMichal Simek		*(.data)
49*2e65b44cSMichal Simek		__data_end = .;
50*2e65b44cSMichal Simek	}
51*2e65b44cSMichal Simek
52*2e65b44cSMichal Simek	.u_boot_cmd ALIGN(0x4):
53*2e65b44cSMichal Simek	{
54*2e65b44cSMichal Simek		. = .;
55*2e65b44cSMichal Simek		__u_boot_cmd_start = .;
56*2e65b44cSMichal Simek		*(.u_boot_cmd)
57*2e65b44cSMichal Simek		__u_boot_cmd_end = .;
58*2e65b44cSMichal Simek	}
59*2e65b44cSMichal Simek
60*2e65b44cSMichal Simek	.bss ALIGN(0x4):
61*2e65b44cSMichal Simek	{
62*2e65b44cSMichal Simek		__bss_start = .;
63*2e65b44cSMichal Simek		*(.sbss)
64*2e65b44cSMichal Simek		*(.scommon)
65*2e65b44cSMichal Simek		*(.bss)
66*2e65b44cSMichal Simek		*(COMMON)
67*2e65b44cSMichal Simek		. = ALIGN(4);
68*2e65b44cSMichal Simek		__bss_end = .;
69*2e65b44cSMichal Simek	}
70*2e65b44cSMichal Simek	__end = . ;
71*2e65b44cSMichal Simek}
72