NetBSD/sys/arch/hpcsh/conf/shl-elf.x
2001-03-22 18:35:33 +00:00

51 lines
763 B
Plaintext

/* $NetBSD: shl-elf.x,v 1.1 2001/03/22 18:35:34 uch Exp $ */
OUTPUT_FORMAT("elf32-shl-unx")
OUTPUT_ARCH(sh)
ENTRY(_start)
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 = .);
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
}