xref: /netbsd-src/sys/arch/ews4800mips/stand/common/coffboot.ldscript (revision 04faabf0716145e945719638bea23ec5dbc5f3b6)
1OUTPUT_FORMAT("ecoff-bigmips")
2OUTPUT_ARCH(mips)
3ENTRY(start)
4
5/*
6 * 0xa0190000 : EWS-UX 1stboot /usr/lib/boot
7 * 0xa0700000 : EWS-UX 2ndboot /stand/iopboot
8 *
9 * EWS4800/350 IPL tftp booter can load COFF OMAGIC file only.
10 */
11
12MEMORY {
13	ram	: o = 0xa0a00000, l = 8M
14}
15
16SECTIONS {
17	. = 0xa0a00000;
18	.text ALIGN(4) :
19	{
20		_ftext = .;
21		*(.text)
22		_etext = .;
23	} > ram
24	.data ALIGN(4) :
25	{
26		_fdata = .;
27		*(.rodata)
28		*(.data)
29		_edata = .;
30	} > ram
31	.bss ALIGN(4) :
32	{
33		_fbss = .;
34		*(.bss)
35		*(.*)
36		_ebss = .;
37	} > ram
38	end = .;	/* libsa/alloc.c use this symbol */
39}
40