1992-05-02 10:09:20 +08:00
|
|
|
cat <<EOF
|
|
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
|
|
|
ENTRY(start)
|
|
|
|
|
|
|
|
SECTIONS {
|
|
|
|
.text ${RELOCATING+${TEXT_START_ADDR}} :
|
|
|
|
{
|
|
|
|
*(.text);
|
1992-05-05 07:38:42 +08:00
|
|
|
*(.text1);
|
|
|
|
*(.text2);
|
1992-05-02 10:09:20 +08:00
|
|
|
${RELOCATING+_etext = .};
|
|
|
|
}
|
1992-05-05 07:38:42 +08:00
|
|
|
.lit . :
|
|
|
|
{
|
|
|
|
*(.lit);
|
|
|
|
${RELOCATING+_elit = .};
|
|
|
|
}
|
|
|
|
.data . :
|
1992-05-02 10:09:20 +08:00
|
|
|
{
|
|
|
|
*(.data);
|
1992-05-05 07:38:42 +08:00
|
|
|
*(.data1);
|
|
|
|
*(.data2);
|
1992-05-02 10:09:20 +08:00
|
|
|
${RELOCATING+_edata = .};
|
|
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
|
|
}
|
1992-05-05 07:38:42 +08:00
|
|
|
|
1992-05-02 10:09:20 +08:00
|
|
|
.bss . :
|
|
|
|
{
|
|
|
|
*(COMMON)
|
|
|
|
*(.bss)
|
|
|
|
${RELOCATING+_end = .};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|