summaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32cr16.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-10-10 04:34:38 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-10-10 04:34:38 +0000
commit70ebc85bb4deff49c0c4c0497e5c3aa7b1e4d230 (patch)
treee8de7b41cd2b7dbc4ba566f4e7d83c7d4c578b7a /ld/scripttempl/elf32cr16.sc
parentea2cdcdf6ebc8633ebfecec69dd4b1a26255333c (diff)
downloadbinutils-redhat-70ebc85bb4deff49c0c4c0497e5c3aa7b1e4d230.tar.gz
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 683420ff86..61351c579b 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