51 lines
750 B
Plaintext
51 lines
750 B
Plaintext
/* $NetBSD: shl-elf.x,v 1.2 2001/07/07 16:35:22 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) }
|
|
}
|
|
|