Rename epoc-pe interworking function names to avoid a name space clash.
authorNick Clifton <nickc@redhat.com>
Fri, 4 Jun 1999 07:39:48 +0000 (07:39 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 4 Jun 1999 07:39:48 +0000 (07:39 +0000)
Add epoc-pe to built targets.

bfd/Makefile.am
bfd/Makefile.in
bfd/epoc-pe-arm.c
bfd/epoc-pei-arm.c
bfd/pe-arm.c
bfd/pei-arm.c

index 99ad5083c710ff57db186f59b05b5fae1e1edef5..d1adeee2790e85f73b966bcc93da3a8f9d88b884 100644 (file)
@@ -172,6 +172,8 @@ BFD32_BACKENDS = \
        elf32-v850.lo \
        elf32.lo \
        elflink.lo \
+       epoc-pe-arm.lo \
+       epoc-pei-arm.lo \
        hp300bsd.lo \
        hp300hpux.lo \
        som.lo \
@@ -291,6 +293,8 @@ BFD32_BACKENDS_CFILES = \
        elf32-v850.c \
        elf32.c \
        elflink.c \
+       epoc-pe-arm.c \
+       epoc-pei-arm.c \
        hp300bsd.c \
        hp300hpux.c \
        som.c \
@@ -888,6 +892,12 @@ elf32.lo: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
   elfcore.h elflink.h
 elflink.lo: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
+epoc-pe-arm.lo: epoc-ep-arm.c pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
+  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h
+epoc-pei-arm.lo: epoc-pei-arm.c pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
+  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h
 hp300bsd.lo: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
index 24b3dfea5a1b403cefc6c6238b83c572b1cf27e4..d40ce2d08ca8bc70b9cb6dbf0a32a2bcdbac758c 100644 (file)
@@ -291,6 +291,8 @@ BFD32_BACKENDS = \
        elf32-v850.lo \
        elf32.lo \
        elflink.lo \
+       epoc-pe-arm.lo \
+       epoc-pei-arm.lo \
        hp300bsd.lo \
        hp300hpux.lo \
        som.lo \
@@ -411,6 +413,8 @@ BFD32_BACKENDS_CFILES = \
        elf32-v850.c \
        elf32.c \
        elflink.c \
+       epoc-pe-arm.c \
+       epoc-pei-arm.c \
        hp300bsd.c \
        hp300hpux.c \
        som.c \
@@ -1418,6 +1422,12 @@ elf32.lo: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
   elfcore.h elflink.h
 elflink.lo: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
+epoc-pe-arm.lo: epoc-pe-arm.c pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
+  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h
+epoc-pei-arm.lo: epoc-pei-arm.c pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
+  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h
 hp300bsd.lo: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
index ea89a0b1257b5b728f409673791464e18ed321af..48a277a9dca875813e0d4a4422b238cc598e6542 100644 (file)
@@ -25,6 +25,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define TARGET_BIG_SYM       arm_epoc_pe_big_vec
 #define TARGET_BIG_NAME      "epoc-pe-arm-big"
 
+#define bfd_arm_allocate_interworking_sections \
+       bfd_arm_epoc_pe_allocate_interworking_sections
+#define bfd_arm_get_bfd_for_interworking \
+       bfd_arm_epoc_pe_get_bfd_for_interworking
+#define bfd_arm_process_before_allocation \
+       bfd_arm_epoc_pe_process_before_allocation
 
 #include "pe-arm.c"
 
index 0f2548d3809e562b33b06a3523cfd7c64024fd5a..69c4d8b6804881578c58911e6ae0367e6171d168 100644 (file)
@@ -25,5 +25,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define TARGET_BIG_SYM       arm_epoc_pei_big_vec
 #define TARGET_BIG_NAME      "epoc-pei-arm-big"
 
+#define bfd_arm_allocate_interworking_sections \
+       bfd_arm_epoc_pe_allocate_interworking_sections
+#define bfd_arm_get_bfd_for_interworking \
+       bfd_arm_epoc_pe_get_bfd_for_interworking
+#define bfd_arm_process_before_allocation \
+       bfd_arm_epoc_pe_process_before_allocation
+
 #include "pei-arm.c"
 
index fff47bf0b01c1ccd8a5273a445e8cbf0e465b4d8..f8a048167a862b51680615cc47554df40f91c749 100644 (file)
@@ -31,11 +31,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define PCRELOFFSET          true
 #define COFF_LONG_SECTION_NAMES
 
+#ifndef bfd_arm_allocate_interworking_sections 
 #define bfd_arm_allocate_interworking_sections \
        bfd_arm_pe_allocate_interworking_sections
 #define bfd_arm_get_bfd_for_interworking \
        bfd_arm_pe_get_bfd_for_interworking
 #define bfd_arm_process_before_allocation \
        bfd_arm_pe_process_before_allocation
-
+#endif
+       
 #include "coff-arm.c"
index 02835c953a3a56ceebc79e5ced3d67d287ea8e96..b04214ab11065222f7f4d6e2dba1ebd67babcd69 100644 (file)
@@ -33,11 +33,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define PCRELOFFSET        true
 #define COFF_LONG_SECTION_NAMES
 
+#ifndef bfd_arm_allocate_interworking_sections 
 #define bfd_arm_allocate_interworking_sections \
        bfd_arm_pe_allocate_interworking_sections
 #define bfd_arm_get_bfd_for_interworking \
        bfd_arm_pe_get_bfd_for_interworking
 #define bfd_arm_process_before_allocation \
        bfd_arm_pe_process_before_allocation
-
+#endif
+       
 #include "coff-arm.c"