aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-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)