darling-gdb/ld/sa29200.sc-sh
Steve Chamberlain bfbdc80f0a * ldver.c: Bumped version to 1.96 - new release, resync with the
bfd too #.
	* ldexp.c, ldlang.c: now build memory shape tree in obstacks
	rather than with raw malloc, makes it easier to track where memory
	is going.
	* ldsym.h, ldsym.c: create obstack for all global symbols too.
	* ldwrite.c (ldwrite): moved malloc so only used when needed.
	* sa29200-sc.sh: added support for .lit, data1 and data2 sections.
1992-05-04 23:38:42 +00:00

35 lines
440 B
Plaintext
Executable File

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