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