aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/h8300h.sc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-05-07 19:36:38 +0000
committerJeff Law <law@redhat.com>1996-05-07 19:36:38 +0000
commit12688490b2ff9d512d7fbe9cf6121cf03443d3e1 (patch)
tree1690a18f12c48c76b4155a462bdb57ae24d5e2ce /ld/scripttempl/h8300h.sc
parent67afbceace2a3fcddbfb97368277f8449f4cabe4 (diff)
downloadgdb-12688490b2ff9d512d7fbe9cf6121cf03443d3e1.zip
gdb-12688490b2ff9d512d7fbe9cf6121cf03443d3e1.tar.gz
gdb-12688490b2ff9d512d7fbe9cf6121cf03443d3e1.tar.bz2
* scripttempl/h8300.sc: Set the entry point to the value of
"_start" rather than the start of the text segment. * scripttempl/h8300h.sc: Likewise. So we can have data at the start of the text space.
Diffstat (limited to 'ld/scripttempl/h8300h.sc')
-rw-r--r--ld/scripttempl/h8300h.sc1
1 files changed, 1 insertions, 0 deletions
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. */