summaryrefslogtreecommitdiff
path: root/ld/scripttempl/h8300s.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-09-09 11:59:14 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-09-09 11:59:14 +0000
commitba3bb863c2c93fe1e80513679d63340a5433ff1d (patch)
treefefbdf90d5d0c4afe85fbd1239cb71c2058c3f11 /ld/scripttempl/h8300s.sc
parentc1a8d676ce2d0f23f91eb3941df4c6eac69f8283 (diff)
downloadbinutils-redhat-ba3bb863c2c93fe1e80513679d63340a5433ff1d.tar.gz
Only provide ENTRY on final link.
Diffstat (limited to 'ld/scripttempl/h8300s.sc')
-rw-r--r--ld/scripttempl/h8300s.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/h8300s.sc b/ld/scripttempl/h8300s.sc
index 53c9dec11c..e07253d9bf 100644
--- a/ld/scripttempl/h8300s.sc
+++ b/ld/scripttempl/h8300s.sc
@@ -11,7 +11,7 @@ TORS=".tors :
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(h8300s)
-ENTRY("_start")
+${RELOCATING+ENTRY ("_start")}
/* The memory size is 256KB to coincide with the simulator.
Don't change either without considering the other. */