aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32cr16c.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-28 07:08:50 +0000
committerAlan Modra <amodra@gmail.com>2009-09-28 07:08:50 +0000
commitdf381c72f46873ac16530442ac11b160009bcba8 (patch)
tree99ca35656e35b676ba2e8710b54d26f4046e448f /ld/scripttempl/elf32cr16c.sc
parent9188c27260a4cbed80cbdf14118630f716e967d2 (diff)
downloadgdb-df381c72f46873ac16530442ac11b160009bcba8.zip
gdb-df381c72f46873ac16530442ac11b160009bcba8.tar.gz
gdb-df381c72f46873ac16530442ac11b160009bcba8.tar.bz2
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
* scripttempl/elf32cr16c.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/tic54xcoff.sc: Likewise. * scripttempl/aix.sc: Delete ${RELOCATING-0}. * scripttempl/avr.sc: Likewise. * scripttempl/elf32msp430.sc: Likewise. * scripttempl/elf32msp430_3.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/nw.sc: Likewise. * scripttempl/psos.sc: Likewise. * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}. * scripttempl/elf.sc: Likewise. * scripttempl/elf64hppa.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfd30v.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/elfmicroblaze.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/elf32cr16c.sc')
-rw-r--r--ld/scripttempl/elf32cr16c.sc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/scripttempl/elf32cr16c.sc b/ld/scripttempl/elf32cr16c.sc
index 84fc61c..392274a 100644
--- a/ld/scripttempl/elf32cr16c.sc
+++ b/ld/scripttempl/elf32cr16c.sc
@@ -1,4 +1,5 @@
# Linker Script for National Semiconductor's CR16C-ELF32.
+test -z "$RELOCATING" && exit 0
test -z "$ENTRY" && ENTRY=_start
cat <<EOF
@@ -7,7 +8,7 @@ cat <<EOF
elf32 files, which were compiled with either the near data
model or the default data model. */
-${RELOCATING+ENTRY(${ENTRY})}
+ENTRY(${ENTRY})
MEMORY
{