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).
50 lines
605 B
Plaintext
50 lines
605 B
Plaintext
OUTPUT_FORMAT("coff-sh")
|
|
OUTPUT_ARCH(sh)
|
|
MEMORY
|
|
{
|
|
ram : o = 0x0c010000, l = 16M
|
|
}
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
*(.text)
|
|
*(.strings)
|
|
_etext = . ;
|
|
} > ram
|
|
.tors :
|
|
{
|
|
___ctors = . ;
|
|
*(.ctors)
|
|
___ctors_end = . ;
|
|
___dtors = . ;
|
|
*(.dtors)
|
|
___dtors_end = . ;
|
|
} > ram
|
|
.data :
|
|
{
|
|
*(.data)
|
|
_edata = . ;
|
|
} > ram
|
|
.bss :
|
|
{
|
|
_bss_start = . ;
|
|
*(.bss)
|
|
*(COMMON)
|
|
_end = . ;
|
|
} > ram
|
|
.stack :
|
|
{
|
|
_stack = . ;
|
|
*(.stack)
|
|
} > ram
|
|
.stab 0 (NOLOAD) :
|
|
{
|
|
*(.stab)
|
|
}
|
|
.stabstr 0 (NOLOAD) :
|
|
{
|
|
*(.stabstr)
|
|
}
|
|
}
|