NetBSD/sys/arch/evbsh3/conf/shl.x

56 lines
785 B
Plaintext

OUTPUT_FORMAT("coff-shl")
OUTPUT_ARCH(sh)
MEMORY
{
ram : o = 0x8C010000, l = 16M
}
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)
}
}