1997-09-24 19:39:15 +04:00
|
|
|
cat <<EOF
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
${GLD_STYLE+ CREATE_OBJECT_SYMBOLS}
|
|
|
|
*(.text)
|
|
|
|
${RELOCATING+ _etext = .};
|
|
|
|
${CONSTRUCTING+${COFF_CTORS}}
|
|
|
|
}
|
1999-02-02 22:51:16 +03:00
|
|
|
.data :
|
1997-09-24 19:39:15 +04:00
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
|
|
${RELOCATING+ _edata = .};
|
|
|
|
}
|
1999-02-02 22:51:16 +03:00
|
|
|
.bss :
|
1997-09-24 19:39:15 +04:00
|
|
|
{
|
|
|
|
${RELOCATING+ _bss_start = .};
|
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
|
|
|
${RELOCATING+ _end = .};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|