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