binutils-gdb/ld/i960.sc-sh

24 lines
360 B
Plaintext
Raw Normal View History

cat <<EOF
SECTIONS
{
.text :
{
${GLD_STYLE+ CREATE_OBJECT_SYMBOLS}
*(.text)
${RELOCATING+ _etext = .};
}
1992-03-17 06:54:51 +08:00
.data SIZEOF(.text) + ADDR(.text):
{
*(.data)
${RELOCATING+ _edata = .};
}
1992-03-17 06:54:51 +08:00
.bss SIZEOF(.data) + ADDR(.data):
{
${RELOCATING+ _bss_start = .};
*(.bss)
*(COMMON)
${RELOCATING+ _end = .};
}
}
EOF