aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
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/coffcode.h
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/coffcode.h')
-rw-r--r--bfd/coffcode.h7
1 files changed, 7 insertions, 0 deletions
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;