xref: /linux/arch/xtensa/boot/boot-redboot/boot.ld (revision e1b73cba13a0cc68dd4f746eced15bd6bb24cda4)
1OUTPUT_ARCH(xtensa)
2
3SECTIONS
4{
5	.start 0xD1000000 : { *(.start) }
6
7	.text :
8	{
9		__reloc_start = . ;
10		_text_start = . ;
11		*(.literal .text.literal .text)
12		_text_end = . ;
13	}
14
15	.rodata ALIGN(0x04):
16	{
17		*(.rodata)
18		*(.rodata1)
19	}
20
21	.data ALIGN(0x04):
22	{
23		*(.data)
24		*(.data1)
25		*(.sdata)
26		*(.sdata2)
27		*(.got.plt)
28		*(.got)
29		*(.dynamic)
30	}
31
32	__reloc_end = . ;
33
34	. = ALIGN(0x10);
35	__image_load = . ;
36	.image 0xd0003000: AT(__image_load)
37	{
38		_image_start = .;
39		*(image)
40		. = (. + 3) & ~ 3;
41		_image_end = .	;
42	}
43
44
45	.bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
46	{
47		__bss_start = .;
48		*(.sbss)
49		*(.scommon)
50		*(.dynbss)
51		*(.bss)
52		__bss_end = .;
53	}
54	_end = .;
55	_param_start = .;
56
57
58	PROVIDE (end = .);
59}
60