mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
28 lines
397 B
Scala
28 lines
397 B
Scala
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
|