2001-07-07 20:35:22 +04:00
|
|
|
/* $NetBSD: shl-coff.x,v 1.2 2001/07/07 16:35:22 uch Exp $ */
|
2001-02-21 19:28:02 +03:00
|
|
|
|
2001-01-17 08:21:47 +03:00
|
|
|
OUTPUT_FORMAT("coff-shl")
|
|
|
|
OUTPUT_ARCH(sh)
|
2001-07-07 20:35:22 +04:00
|
|
|
|
2001-01-17 08:21:47 +03:00
|
|
|
MEMORY
|
|
|
|
{
|
2001-01-21 21:34:37 +03:00
|
|
|
ram : o = 0x8C001000, l = 16M
|
2001-01-17 08:21:47 +03:00
|
|
|
}
|
2001-07-07 20:35:22 +04:00
|
|
|
|
2001-01-17 08:21:47 +03:00
|
|
|
SECTIONS
|
|
|
|
{
|
2001-07-07 20:35:22 +04:00
|
|
|
_trap_base = 0x8c000000;
|
|
|
|
PROVIDE (_trap_base = .);
|
2001-01-17 08:21:47 +03:00
|
|
|
.text :
|
|
|
|
{
|
2001-07-07 20:35:22 +04:00
|
|
|
_ftext = . ;
|
2001-01-17 08:21:47 +03:00
|
|
|
*(.text)
|
2001-07-07 20:35:22 +04:00
|
|
|
*(.rodata)
|
2001-01-17 08:21:47 +03:00
|
|
|
*(.strings)
|
|
|
|
} > ram
|
2001-07-07 20:35:22 +04:00
|
|
|
_etext = . ;
|
|
|
|
PROVIDE (_etext = .);
|
|
|
|
. = ALIGN(8);
|
2001-01-17 08:21:47 +03:00
|
|
|
.data :
|
|
|
|
{
|
2001-07-07 20:35:22 +04:00
|
|
|
_fdata = . ;
|
|
|
|
PROVIDE (_fdata = .);
|
2001-01-17 08:21:47 +03:00
|
|
|
*(.data)
|
2001-07-07 20:35:22 +04:00
|
|
|
CONSTRUCTORS
|
|
|
|
} > ram
|
|
|
|
_edata = . ;
|
|
|
|
PROVIDE (_edata = .);
|
|
|
|
. = ALIGN(8);
|
2001-01-17 08:21:47 +03:00
|
|
|
.bss :
|
|
|
|
{
|
2001-07-07 20:35:22 +04:00
|
|
|
_fbss = . ;
|
|
|
|
PROVIDE (_fbss = .);
|
2001-01-17 08:21:47 +03:00
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
2001-07-07 20:35:22 +04:00
|
|
|
} > ram
|
|
|
|
. = ALIGN(4);
|
|
|
|
_end = . ;
|
|
|
|
PROVIDE (_end = .);
|
2001-01-17 08:21:47 +03:00
|
|
|
}
|