aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-26 09:01:41 +0000
committerAlan Modra <amodra@gmail.com>2002-08-26 09:01:41 +0000
commitc8e48751a62a183ae04ea34886cd8c3f544d6e41 (patch)
tree20e1865a98b71abc3ec88e16400587af4c00d5f7 /bfd
parenta2199cc1eaad51d9956e52320b683c7e7de85a72 (diff)
downloadgdb-c8e48751a62a183ae04ea34886cd8c3f544d6e41.zip
gdb-c8e48751a62a183ae04ea34886cd8c3f544d6e41.tar.gz
gdb-c8e48751a62a183ae04ea34886cd8c3f544d6e41.tar.bz2
* coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
Diffstat (limited to 'bfd')
-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;