46 lines
653 B
Plaintext
46 lines
653 B
Plaintext
/* $NetBSD: shl-coff.x,v 1.3 2001/11/20 12:56:28 lukem Exp $ */
|
|
|
|
OUTPUT_FORMAT("coff-shl")
|
|
OUTPUT_ARCH(sh)
|
|
|
|
MEMORY
|
|
{
|
|
ram : o = 0x8C001000, l = 16M
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
_trap_base = 0x8c000000;
|
|
PROVIDE (_trap_base = .);
|
|
.text :
|
|
{
|
|
_ftext = . ;
|
|
*(.text)
|
|
*(.rodata)
|
|
*(.strings)
|
|
} > ram
|
|
_etext = . ;
|
|
PROVIDE (_etext = .);
|
|
. = ALIGN(8);
|
|
.data :
|
|
{
|
|
_fdata = . ;
|
|
PROVIDE (_fdata = .);
|
|
*(.data)
|
|
CONSTRUCTORS
|
|
} > ram
|
|
_edata = . ;
|
|
PROVIDE (_edata = .);
|
|
. = ALIGN(8);
|
|
.bss :
|
|
{
|
|
_fbss = . ;
|
|
PROVIDE (_fbss = .);
|
|
*(.bss)
|
|
*(COMMON)
|
|
} > ram
|
|
. = ALIGN(4);
|
|
_end = . ;
|
|
PROVIDE (_end = .);
|
|
}
|