aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32cr16c.sc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-02-18 14:53:44 +0000
committerNick Clifton <nickc@redhat.com>2008-02-18 14:53:44 +0000
commitb34c1498c29a6ed60de6ad8159dc6cc424066157 (patch)
treef69ae35933f0d56f67e1c56acf17f4d67b128f22 /ld/scripttempl/elf32cr16c.sc
parent796d53134aa59d7dcf70d0f82913974b04648c6a (diff)
downloadgdb-b34c1498c29a6ed60de6ad8159dc6cc424066157.zip
gdb-b34c1498c29a6ed60de6ad8159dc6cc424066157.tar.gz
gdb-b34c1498c29a6ed60de6ad8159dc6cc424066157.tar.bz2
* scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
relocatable link. * scripttempl/elf32cr16.sc: Likewise. * scripttempl/elf32cr16c.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/ip2k.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/v850.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/elf32cr16c.sc')
-rw-r--r--ld/scripttempl/elf32cr16c.sc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ld/scripttempl/elf32cr16c.sc b/ld/scripttempl/elf32cr16c.sc
index b02edfd..70cbb59 100644
--- a/ld/scripttempl/elf32cr16c.sc
+++ b/ld/scripttempl/elf32cr16c.sc
@@ -12,9 +12,8 @@ cat <<EOF
(which is not called explicitly) is in an archive (which is
the usual case). */
-EXTERN(${ENTRY})
-
-ENTRY(${ENTRY})
+${RELOCATING+EXTERN(${ENTRY})}
+${RELOCATING+ENTRY(${ENTRY})}
MEMORY
{