aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog9
-rw-r--r--ld/scripttempl/h8300.sc1
-rw-r--r--ld/scripttempl/h8300h.sc1
3 files changed, 9 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index cc77722..f281c2e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -12,8 +12,13 @@ Tue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com>
Tue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com)
- * scripttempl (h8300.sc, h8300h.sc): Place .rodata sections
- before .text sections in main ram.
+ * scripttempl/h8300.sc: Set the entry point to the value of
+ "_start" rather than the start of the text segment.
+ * scripttempl/h8300h.sc: Likewise.
+
+ * scripttempl/h8300.sc: Place .rodata sections before .text
+ sections in main ram.
+ * scripttempl/h8300h.sc: Likewise.
Mon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com)
diff --git a/ld/scripttempl/h8300.sc b/ld/scripttempl/h8300.sc
index 3bedf12..7698e31 100644
--- a/ld/scripttempl/h8300.sc
+++ b/ld/scripttempl/h8300.sc
@@ -1,6 +1,7 @@
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
+ENTRY("_start")
MEMORY
{
diff --git a/ld/scripttempl/h8300h.sc b/ld/scripttempl/h8300h.sc
index 55c3226..2c04022 100644
--- a/ld/scripttempl/h8300h.sc
+++ b/ld/scripttempl/h8300h.sc
@@ -1,6 +1,7 @@
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(h8300h)
+ENTRY("_start")
/* The memory size is 256KB to coincide with the simulator.
Don't change either without considering the other. */