26 lines
421 B
Scala
26 lines
421 B
Scala
cat <<EOF
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
${GLD_STYLE+ CREATE_OBJECT_SYMBOLS}
|
|
*(.text)
|
|
${RELOCATING+ _etext = .};
|
|
${CONSTRUCTING+${COFF_CTORS}}
|
|
}
|
|
.data SIZEOF(.text) + ADDR(.text):
|
|
{
|
|
*(.data)
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
${RELOCATING+ _edata = .};
|
|
}
|
|
.bss SIZEOF(.data) + ADDR(.data):
|
|
{
|
|
${RELOCATING+ _bss_start = .};
|
|
*(.bss)
|
|
*(COMMON)
|
|
${RELOCATING+ _end = .};
|
|
}
|
|
}
|
|
EOF
|