blob: 507948850221910925ebccb577540e07fb08bce1 [file] [log] [blame]
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${RELOCATING+ENTRY (start)}
SECTIONS {
.text ${RELOCATING+${TEXT_START_ADDR}} :
{
*(.text);
${RELOCATING+_etext = .};
}
data ${RELOCATING+0x80002000} :
{
*(.data);
*(.mstack);
*(.shbss);
*(.rstack);
*(.mstack);
${CONSTRUCTING+CONSTRUCTORS}
}
.bss . :
{
*(COMMON)
*(.bss);
${RELOCATING+_end = .};
}
}
EOF