]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix typo and code omission preventing the detection of w65 binaries
authorNick Clifton <nickc@redhat.com>
Tue, 22 Aug 2000 21:02:06 +0000 (21:02 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 22 Aug 2000 21:02:06 +0000 (21:02 +0000)
bfd/ChangeLog
bfd/coff-w65.c
bfd/coffcode.h

index e052850d18fed94983fe4623b221d8d70e2426d9..2957e59e98c18647100e19fd78d69963d1d7b6c5 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-22  Doug Kwan <dkwan@transmeta.com>
+
+       * coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo.
+       * coffcode.h (coff_set_flags): Add detection of w65 architecture.
+
 2000-04-14  Matthew Green  <mrg@cygnus.com>
        
        * config.bfd: Add NetBSD/sparc64 support.
index 0379bfbc325ea8fa7dc4e063196af1fa6fa947b5..c82d4d7844bd676dbc8d31c3b23b4fc05b00fd2c 100644 (file)
@@ -401,4 +401,4 @@ h8300_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr,
   bfd_coff_reloc16_get_relocated_section_contents
 #define coff_bfd_relax_section bfd_coff_reloc16_relax_section
 
-CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w95", BFD_IS_RELAXABLE, 0, '_', NULL)
+CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL)
index 8193a2116ca18fc952cbe61cb54278a5a711f9f1..73081a767965bd0498d82855e2ff19967557b340 100644 (file)
@@ -2582,6 +2582,12 @@ coff_set_flags (abfd, magicp, flagsp)
       return true;
 #endif
       
+#ifdef W65MAGIC
+    case bfd_arch_w65:
+      *magicp = W65MAGIC;
+      return true;
+#endif
+
     default:                   /* Unknown architecture */
       /* return false;  -- fall through to "return false" below, to avoid
        "statement never reached" errors on the one below. */