1992-02-15 22:07:15 +00:00
|
|
|
cat <<EOF
|
|
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
|
|
|
ENTRY(start)
|
|
|
|
|
|
|
|
SECTIONS {
|
|
|
|
.text ${RELOCATING+${TEXT_START_ADDR}} :
|
|
|
|
{
|
|
|
|
*(.text);
|
1992-03-02 22:22:59 +00:00
|
|
|
${RELOCATING+_etext = .};
|
1992-02-15 22:07:15 +00:00
|
|
|
}
|
|
|
|
data ${RELOCATING+0x80002000} :
|
|
|
|
{
|
|
|
|
*(.data);
|
|
|
|
*(.mstack);
|
|
|
|
*(.shbss);
|
|
|
|
*(.rstack);
|
|
|
|
*(.mstack);
|
|
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
|
|
}
|
|
|
|
.bss . :
|
|
|
|
{
|
|
|
|
*(COMMON)
|
|
|
|
*(.bss);
|
1992-03-02 22:22:59 +00:00
|
|
|
${RELOCATING+_end = .};
|
1992-02-15 22:07:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|