* coffcode.h (coff_set_flags): Handle bfd_arch_powerpc like
authorIan Lance Taylor <ian@airs.com>
Mon, 28 Mar 1994 23:20:38 +0000 (23:20 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 28 Mar 1994 23:20:38 +0000 (23:20 +0000)
bfd_arch_rs6000.

bfd/ChangeLog
bfd/coffcode.h

index fad98d09a5bb09ab62e528d2c10ba1676ebc78fc..df5c8a89b4d2f028d63c77698461592b0fc48b1a 100644 (file)
@@ -1,5 +1,8 @@
 Mon Mar 28 12:53:27 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
+       * coffcode.h (coff_set_flags): Handle bfd_arch_powerpc like
+       bfd_arch_rs6000.
+
        * config.bfd (powerpc-*-aix*): New target; use rs6000.mt.
        * config/rs6000.mt (SELECT_ARCHITECTURES): Add bfd_powerpc_arch.
 
index b2e50ce3216fbefa21a362c9a9312d96cba372b2..8319cab8405f6041e72bdeb981ad621f90a9a26d 100644 (file)
@@ -603,8 +603,8 @@ dependent COFF routines:
 .       unsigned int *src_ptr,
 .       unsigned int *dst_ptr));
 . int (*_bfd_coff_reloc16_estimate) PARAMS ((
+.       bfd *abfd,
 .       asection *input_section,
-.       asymbol **symbols,
 .       arelent *r,
 .       unsigned int shrink,
 .       struct bfd_link_info *link_info));
@@ -686,9 +686,9 @@ dependent COFF routines:
 .        ((coff_backend_info (abfd)->_bfd_coff_reloc16_extra_cases)\
 .         (abfd, link_info, link_order, reloc, data, src_ptr, dst_ptr))
 .
-.#define bfd_coff_reloc16_estimate(abfd, section, symbols, reloc, shrink, link_info)\
+.#define bfd_coff_reloc16_estimate(abfd, section, reloc, shrink, link_info)\
 .        ((coff_backend_info (abfd)->_bfd_coff_reloc16_estimate)\
-.         (section, symbols, reloc, shrink, link_info))
+.         (abfd, section, reloc, shrink, link_info))
 .
 */
 
@@ -1259,6 +1259,7 @@ coff_set_flags (abfd, magicp, flagsp)
 
 #ifdef U802TOCMAGIC
     case bfd_arch_rs6000:
+    case bfd_arch_powerpc:
       *magicp = U802TOCMAGIC;
       return true;
       break;
@@ -2430,9 +2431,9 @@ coff_sym_filepos (abfd)
 #define coff_reloc16_estimate dummy_reloc16_estimate
 
 static int
-dummy_reloc16_estimate (input_section, symbols, reloc, shrink, link_info)
+dummy_reloc16_estimate (abfd, input_section, reloc, shrink, link_info)
+     bfd *abfd;
      asection *input_section;
-     asymbol **symbols;
      arelent *reloc;
      unsigned int shrink;
      struct bfd_link_info *link_info;
@@ -2505,3 +2506,15 @@ static CONST bfd_coff_backend_data bfd_coff_std_swap_table =
 #define coff_bfd_link_hash_table_create _bfd_generic_link_hash_table_create
 #define coff_bfd_link_add_symbols _bfd_generic_link_add_symbols
 #define coff_bfd_final_link _bfd_generic_final_link
+
+#ifndef coff_bfd_copy_private_section_data
+#define coff_bfd_copy_private_section_data \
+  ((boolean (*) PARAMS ((bfd *, asection *, bfd *, asection *))) bfd_true)
+#endif
+#ifndef coff_bfd_copy_private_bfd_data
+#define coff_bfd_copy_private_bfd_data \
+  ((boolean (*) PARAMS ((bfd *, bfd *))) bfd_true)
+#endif
+#ifndef coff_bfd_is_local_label
+#define coff_bfd_is_local_label bfd_generic_is_local_label
+#endif
This page took 0.031645 seconds and 4 git commands to generate.