* coffcode.h: Allow specific backends to override the
authorJeff Law <law@redhat.com>
Thu, 14 Mar 1996 23:17:50 +0000 (23:17 +0000)
committerJeff Law <law@redhat.com>
Thu, 14 Mar 1996 23:17:50 +0000 (23:17 +0000)
        bfd_link_add_symbols routine.
Not used yet, but it will be soon for hmse.

bfd/ChangeLog
bfd/coffcode.h

index 8f2776ca112a3d5ac41f162bb4d74f47afdc967d..2135164e5f886dbcbd13970a50577622d460b3ce 100644 (file)
@@ -1,5 +1,8 @@
 Thu Mar 14 16:06:06 1996  Jeffrey A Law  (law@cygnus.com)
 
+       * coffcode.h: Allow specific backends to override the
+       bfd_link_add_symbols routine.
+
        * coff-h8300.c: Include genlink.h.
        (howto_table): Add R_MEM_INDIRECT.
        (rtype2howto): Support R_MEM_INDIRECT.
index 2518f77729f7370ca39ea7f3b8538e5c1b1d0778..80e655fd555f161d5a5e403dbc268f50c98282bc 100644 (file)
@@ -1261,11 +1261,9 @@ coff_set_arch_mach_hook (abfd, filehdr)
        case F_I960KA:
          machine = bfd_mach_i960_ka_sa;
          break;
-         /* start-sanitize-i960xl */
-       case F_I960XL:
-         machine = bfd_mach_i960_xl;
+       case F_I960JX:
+         machine = bfd_mach_i960_jx;
          break;
-         /* end-sanitize-i960xl */
        case F_I960HX:
          machine = bfd_mach_i960_hx;
          break;
@@ -1748,11 +1746,9 @@ coff_set_flags (abfd, magicp, flagsp)
          case bfd_mach_i960_ka_sa:
            flags = F_I960KA;
            break;
-           /* start-sanitize-i960xl */
-         case bfd_mach_i960_xl:
-           flags = F_I960XL;
+         case bfd_mach_i960_jx:
+           flags = F_I960JX;
            break;
-           /* end-sanitize-i960xl */
          case bfd_mach_i960_hx:
            flags = F_I960HX;
            break;
@@ -3524,7 +3520,9 @@ dummy_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr,
 #else /* ! defined (coff_relocate_section) */
 #define coff_relocate_section NULL
 #define coff_bfd_link_hash_table_create _bfd_generic_link_hash_table_create
+#ifndef coff_bfd_link_add_symbols
 #define coff_bfd_link_add_symbols _bfd_generic_link_add_symbols
+#endif
 #define coff_bfd_final_link _bfd_generic_final_link
 #endif /* ! defined (coff_relocate_section) */
 #define coff_bfd_link_split_section  _bfd_generic_link_split_section