ce93b3da57
lists only help to make them harder to read. If those sections are found in inputs, they simply appear in outputs as orphaned sections, sorted by section types and attributes.
45 lines
594 B
Plaintext
45 lines
594 B
Plaintext
/* $NetBSD: shl-elf.x,v 1.9 2015/08/24 08:13:07 uebayasi Exp $ */
|
|
|
|
OUTPUT_FORMAT("elf32-shl-nbsd")
|
|
OUTPUT_ARCH(sh)
|
|
ENTRY(start)
|
|
|
|
MEMORY
|
|
{
|
|
ram (a) : o = 0x8c001000, l = 16M
|
|
}
|
|
SECTIONS
|
|
|
|
{
|
|
.text :
|
|
{
|
|
ftext = . ;
|
|
*(.text)
|
|
*(.rodata)
|
|
*(.strings)
|
|
}
|
|
etext = . ;
|
|
PROVIDE (etext = .);
|
|
. = ALIGN(8);
|
|
.data :
|
|
{
|
|
fdata = . ;
|
|
PROVIDE (fdata = .);
|
|
*(.data)
|
|
CONSTRUCTORS
|
|
}
|
|
edata = . ;
|
|
PROVIDE (edata = .);
|
|
. = ALIGN(8);
|
|
.bss :
|
|
{
|
|
fbss = . ;
|
|
PROVIDE (fbss = .);
|
|
*(.bss)
|
|
*(COMMON)
|
|
}
|
|
. = ALIGN(4);
|
|
end = . ;
|
|
PROVIDE (end = .);
|
|
}
|