mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-14 21:03:31 +08:00
26 lines
367 B
Python
26 lines
367 B
Python
|
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
|