binutils-gdb/ld/sa29200.sc-sh

35 lines
440 B
Plaintext
Raw Normal View History

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