aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32cr16c.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-10-10 04:34:39 +0000
committerAlan Modra <amodra@gmail.com>2009-10-10 04:34:39 +0000
commitec2d9b29273a260dad374eca5bbe2f7922d0bfde (patch)
tree2156cd6930f0b4701cbf590d22149f1d463670d7 /ld/scripttempl/elf32cr16c.sc
parentd4780e57f540e6c89da1cfef35666ae3f20d26a8 (diff)
downloadgdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.zip
gdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.tar.gz
gdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.tar.bz2
Revert 2009-09-28 changes.
Diffstat (limited to 'ld/scripttempl/elf32cr16c.sc')
-rw-r--r--ld/scripttempl/elf32cr16c.sc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/scripttempl/elf32cr16c.sc b/ld/scripttempl/elf32cr16c.sc
index 392274a..84fc61c 100644
--- a/ld/scripttempl/elf32cr16c.sc
+++ b/ld/scripttempl/elf32cr16c.sc
@@ -1,5 +1,4 @@
# Linker Script for National Semiconductor's CR16C-ELF32.
-test -z "$RELOCATING" && exit 0
test -z "$ENTRY" && ENTRY=_start
cat <<EOF
@@ -8,7 +7,7 @@ cat <<EOF
elf32 files, which were compiled with either the near data
model or the default data model. */
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY(${ENTRY})}
MEMORY
{