NetBSD/sys/arch/mmeye/conf/sh.x
itojun 65363da25e Merge in NetBSD/sh3 from cvs.kame.net repository.
Tree structure:
- sys/arch/sh3: sh3 generic code
	As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
1999-09-13 10:30:21 +00:00

56 lines
783 B
Plaintext

OUTPUT_FORMAT("coff-sh")
OUTPUT_ARCH(sh)
MEMORY
{
ram : o = 0x8C010000, l = 4M
}
SECTIONS
{
ROM = 0x80010000;
.text :
AT (ROM)
{
*(.text)
*(.strings)
_etext = . ;
} > ram
.tors :
AT ( ROM + SIZEOF(.text))
{
___ctors = . ;
*(.ctors)
___ctors_end = . ;
___dtors = . ;
*(.dtors)
___dtors_end = . ;
} > ram
.data :
AT ( ROM + SIZEOF(.text) + SIZEOF(.tors))
{
*(.data)
_edata = . ;
} > ram
.bss :
AT ( ROM + SIZEOF(.text) + SIZEOF(.tors) + SIZEOF(.data) + SIZEOF(.bss))
{
_bss_start = . ;
*(.bss)
*(COMMON)
_end = . ;
} > ram
.stack :
{
_stack = . ;
*(.stack)
} > ram
.stab 0 (NOLOAD) :
{
*(.stab)
}
.stabstr 0 (NOLOAD) :
{
*(.stabstr)
}
}