65363da25e
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).
33 lines
382 B
Plaintext
33 lines
382 B
Plaintext
OUTPUT_FORMAT("coff-shl")
|
|
OUTPUT_ARCH(sh)
|
|
MEMORY
|
|
{
|
|
ram : o = 0x80010000, l = 16M
|
|
}
|
|
SECTIONS
|
|
{
|
|
.text 0xa0000000 :
|
|
{
|
|
*(.text)
|
|
*(.strings)
|
|
_etext = . ;
|
|
}
|
|
.data :
|
|
{
|
|
*(.data)
|
|
_edata = . ;
|
|
}
|
|
.bss 0x8c010000 :
|
|
{
|
|
_bss_start = . ;
|
|
*(.bss)
|
|
*(COMMON)
|
|
_end = . ;
|
|
}
|
|
.stack :
|
|
{
|
|
_stack = . ;
|
|
*(.stack)
|
|
}
|
|
}
|