aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-03-16 22:54:51 +0000
committerSteve Chamberlain <sac@cygnus>1992-03-16 22:54:51 +0000
commitd5a13d8ea0709be0de86bf198b594381bb8fc0d4 (patch)
tree7aaea5033f6200b6ced69e5c069462df47fef88e
parent5a4470de1f14def6668449f183b1dd76284fad84 (diff)
downloadgdb-d5a13d8ea0709be0de86bf198b594381bb8fc0d4.zip
gdb-d5a13d8ea0709be0de86bf198b594381bb8fc0d4.tar.gz
gdb-d5a13d8ea0709be0de86bf198b594381bb8fc0d4.tar.bz2
i960 bitrot fix
-rw-r--r--ld/gld960.em2
-rwxr-xr-xld/i960.sc-sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/ld/gld960.em b/ld/gld960.em
index c2eba62..23db7ea 100644
--- a/ld/gld960.em
+++ b/ld/gld960.em
@@ -131,7 +131,7 @@ struct ld_emulation_xfer_struct ld_gld960_emulation =
gld960_choose_target,
before_allocation_default,
gld960_get_script,
- "lnk960",
+ "960",
""
};
EOF
diff --git a/ld/i960.sc-sh b/ld/i960.sc-sh
index 6d778a6..ed8ba8b 100755
--- a/ld/i960.sc-sh
+++ b/ld/i960.sc-sh
@@ -7,12 +7,12 @@ SECTIONS
*(.text)
${RELOCATING+ _etext = .};
}
- .data :
+ .data SIZEOF(.text) + ADDR(.text):
{
*(.data)
${RELOCATING+ _edata = .};
}
- .bss :
+ .bss SIZEOF(.data) + ADDR(.data):
{
${RELOCATING+ _bss_start = .};
*(.bss)