NetBSD/sys/arch/ews4800mips/stand/common/coffboot.ldscript
tsutsui 04faabf071 Initial import of NetBSD/ews4800mips port,
for NEC's MIPS based EWS4800 workstations.

Most porting work was done by UCHIYAMA Yasushi <uch@netbsd>
 http://mail-index.netbsd.org/port-mips/2004/06/27/0000.html
and various cleanup, updating, and fixes have been done by me.
Currently only EWS4800/350, 360, 360AD, 360ADII, 360EX and 360SX
models are supported.
2005-12-29 15:20:08 +00:00

40 lines
570 B
Plaintext

OUTPUT_FORMAT("ecoff-bigmips")
OUTPUT_ARCH(mips)
ENTRY(start)
/*
* 0xa0190000 : EWS-UX 1stboot /usr/lib/boot
* 0xa0700000 : EWS-UX 2ndboot /stand/iopboot
*
* EWS4800/350 IPL tftp booter can load COFF OMAGIC file only.
*/
MEMORY {
ram : o = 0xa0a00000, l = 8M
}
SECTIONS {
. = 0xa0a00000;
.text ALIGN(4) :
{
_ftext = .;
*(.text)
_etext = .;
} > ram
.data ALIGN(4) :
{
_fdata = .;
*(.rodata)
*(.data)
_edata = .;
} > ram
.bss ALIGN(4) :
{
_fbss = .;
*(.bss)
*(.*)
_ebss = .;
} > ram
end = .; /* libsa/alloc.c use this symbol */
}