aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32crx.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/elf32crx.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/elf32crx.sc')
-rw-r--r--ld/scripttempl/elf32crx.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elf32crx.sc b/ld/scripttempl/elf32crx.sc
index 4304187..c3d6751 100644
--- a/ld/scripttempl/elf32crx.sc
+++ b/ld/scripttempl/elf32crx.sc
@@ -17,8 +17,8 @@ cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-EXTERN(${ENTRY})
-ENTRY(${ENTRY})
+${RELOCATING+EXTERN(${ENTRY})}
+${RELOCATING+ENTRY(${ENTRY})}
/* Define memory regions. */
MEMORY