old-cross-binutils/ld/scripttempl/i960.sc
1999-05-03 07:29:11 +00:00

25 lines
367 B
Scala

cat <<EOF
SECTIONS
{
.text :
{
${GLD_STYLE+ CREATE_OBJECT_SYMBOLS}
*(.text)
${RELOCATING+ _etext = .};
${CONSTRUCTING+${COFF_CTORS}}
}
.data :
{
*(.data)
${CONSTRUCTING+CONSTRUCTORS}
${RELOCATING+ _edata = .};
}
.bss :
{
${RELOCATING+ _bss_start = .};
*(.bss)
*(COMMON)
${RELOCATING+ _end = .};
}
}
EOF