aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/coffcode.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b55c6df..d3631b0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2002-08-26 Alan Modra <amodra@bigpond.net.au>
+ * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
+
+2002-08-26 Alan Modra <amodra@bigpond.net.au>
+
* aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.
2002-08-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index bb777aa..212c5c6 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -2158,6 +2158,13 @@ coff_set_arch_mach_hook (abfd, filehdr)
arch = bfd_arch_mcore;
break;
#endif
+
+#ifdef W65MAGIC
+ case W65MAGIC:
+ arch = bfd_arch_w65;
+ break;
+#endif
+
default: /* Unreadable input file type */
arch = bfd_arch_obscure;
break;