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 99ad508..d1adeee 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 24b3dfe..d40ce2d 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 ea89a0b..48a277a 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 0f2548d..69c4d8b 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 fff47bf..f8a0481 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 02835c9..b04214a 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"