aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-06-04 07:40:35 +0000
committerNick Clifton <nickc@redhat.com>1999-06-04 07:40:35 +0000
commit434d1125a3e95b8fcbdfc563423faca2cc06bea6 (patch)
tree68c2e9bde0809196504a4513ca66fce224d45391 /ld
parent10ab5357b128f5b6278c149e407bf4af710447f1 (diff)
downloadgdb-434d1125a3e95b8fcbdfc563423faca2cc06bea6.zip
gdb-434d1125a3e95b8fcbdfc563423faca2cc06bea6.tar.gz
gdb-434d1125a3e95b8fcbdfc563423faca2cc06bea6.tar.bz2
Rename epoc-pe interworking function names to avoid a name space clash
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emultempl/pe.em9
2 files changed, 14 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2a563fe..2c43e02 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-04 Nick Clifton <nickc@cygnus.com>
+
+ * emultempl/pe.em: If compiling for arm_epoc_pe rename
+ interworking functions to avoid a name space clash.
+
1999-06-02 Jason Merrill <jason@yorick.cygnus.com>
* scripttempl/v850.sc: Add initp support.
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 0ff11c8..7b213b1 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -54,6 +54,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define PE_DEF_SUBSYSTEM 3
+#ifdef TARGET_IS_arm_epoc_pe
+#define bfd_arm_pe_allocate_interworking_sections \
+ bfd_arm_epoc_pe_allocate_interworking_sections
+#define bfd_arm_pe_get_bfd_for_interworking \
+ bfd_arm_epoc_pe_get_bfd_for_interworking
+#define bfd_arm_pe_process_before_allocation \
+ bfd_arm_epoc_pe_process_before_allocation
+#endif
+
static void gld_${EMULATION_NAME}_set_symbols PARAMS ((void));
static void gld_${EMULATION_NAME}_after_open PARAMS ((void));
static void gld_${EMULATION_NAME}_before_parse PARAMS ((void));