aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32cr16.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/elf32cr16.sc
parentd4780e57f540e6c89da1cfef35666ae3f20d26a8 (diff)
downloadgdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.zip
gdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.tar.gz
gdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.tar.bz2
Revert 2009-09-28 changes.
Diffstat (limited to 'ld/scripttempl/elf32cr16.sc')
-rw-r--r--ld/scripttempl/elf32cr16.sc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/scripttempl/elf32cr16.sc b/ld/scripttempl/elf32cr16.sc
index 683420f..61351c5 100644
--- a/ld/scripttempl/elf32cr16.sc
+++ b/ld/scripttempl/elf32cr16.sc
@@ -1,5 +1,4 @@
# Linker Script for National Semiconductor's CR16-ELF32.
-test -z "$RELOCATING" && exit 0
# The next line should be uncommented if it is desired to link
# without libstart.o and directly enter main.
@@ -13,7 +12,7 @@ cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY(${ENTRY})}
/* Define memory regions. */
MEMORY