aboutsummaryrefslogtreecommitdiff
path: root/ld/sa29200.sc-sh
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-05-04 23:38:42 +0000
committerSteve Chamberlain <sac@cygnus>1992-05-04 23:38:42 +0000
commitbfbdc80f0adfc6000accbc468ed1764f5aeb8aae (patch)
tree5a9f6bdd80f730a1019bf33ed93fde37b1c20cad /ld/sa29200.sc-sh
parentf7ebd77dba70ddecdf1588f384666f9f5e4de535 (diff)
downloadgdb-bfbdc80f0adfc6000accbc468ed1764f5aeb8aae.zip
gdb-bfbdc80f0adfc6000accbc468ed1764f5aeb8aae.tar.gz
gdb-bfbdc80f0adfc6000accbc468ed1764f5aeb8aae.tar.bz2
* 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.
Diffstat (limited to 'ld/sa29200.sc-sh')
-rwxr-xr-xld/sa29200.sc-sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/ld/sa29200.sc-sh b/ld/sa29200.sc-sh
index ede39d6..d0a395b 100755
--- a/ld/sa29200.sc-sh
+++ b/ld/sa29200.sc-sh
@@ -6,14 +6,24 @@ SECTIONS {
.text ${RELOCATING+${TEXT_START_ADDR}} :
{
*(.text);
+ *(.text1);
+ *(.text2);
${RELOCATING+_etext = .};
}
- data . :
+ .lit . :
+ {
+ *(.lit);
+ ${RELOCATING+_elit = .};
+ }
+ .data . :
{
*(.data);
+ *(.data1);
+ *(.data2);
${RELOCATING+_edata = .};
${CONSTRUCTING+CONSTRUCTORS}
}
+
.bss . :
{
*(COMMON)