Rename epoc-pe interworking function names to avoid a name space clash
authorNick Clifton <nickc@redhat.com>
Fri, 4 Jun 1999 07:40:35 +0000 (07:40 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 4 Jun 1999 07:40:35 +0000 (07:40 +0000)
ld/ChangeLog
ld/emultempl/pe.em

index 2a563fe..2c43e02 100644 (file)
@@ -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.
index 0ff11c8..7b213b1 100644 (file)
@@ -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));