1999-09-13 14:30:21 +04:00
|
|
|
OUTPUT_FORMAT("coff-sh")
|
|
|
|
OUTPUT_ARCH(sh)
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
ram : o = 0x8C010000, l = 4M
|
|
|
|
}
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
*(.text)
|
|
|
|
*(.strings)
|
2001-11-20 15:56:17 +03:00
|
|
|
_etext = . ;
|
1999-09-13 14:30:21 +04:00
|
|
|
} > ram
|
|
|
|
.tors :
|
|
|
|
{
|
|
|
|
___ctors = . ;
|
|
|
|
*(.ctors)
|
|
|
|
___ctors_end = . ;
|
|
|
|
___dtors = . ;
|
|
|
|
*(.dtors)
|
|
|
|
___dtors_end = . ;
|
|
|
|
} > ram
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data)
|
2001-11-20 15:56:17 +03:00
|
|
|
_edata = . ;
|
1999-09-13 14:30:21 +04:00
|
|
|
} > ram
|
|
|
|
.bss :
|
|
|
|
{
|
2001-11-20 15:56:17 +03:00
|
|
|
_bss_start = . ;
|
1999-09-13 14:30:21 +04:00
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
2001-11-20 15:56:17 +03:00
|
|
|
_end = . ;
|
1999-09-13 14:30:21 +04:00
|
|
|
} > ram
|
|
|
|
.stack :
|
|
|
|
{
|
2001-11-20 15:56:17 +03:00
|
|
|
_stack = . ;
|
1999-09-13 14:30:21 +04:00
|
|
|
*(.stack)
|
|
|
|
} > ram
|
|
|
|
.stab 0 (NOLOAD) :
|
|
|
|
{
|
|
|
|
*(.stab)
|
|
|
|
}
|
|
|
|
.stabstr 0 (NOLOAD) :
|
|
|
|
{
|
|
|
|
*(.stabstr)
|
|
|
|
}
|
|
|
|
}
|