From: Alan Modra Date: Mon, 26 Aug 2002 09:02:42 +0000 (+0000) Subject: * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. X-Git-Tag: binutils-2_13_1~131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b9096b6838971966bbc2ab87ae7d370cc97aabf;p=thirdparty%2Fbinutils-gdb.git * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bdbb741dae1..e3bc1907c83 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-08-26 Alan Modra + + * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. + 2002-08-22 Alan Modra * configure.in: Unset is_release. diff --git a/bfd/coffcode.h b/bfd/coffcode.h index bb777aaaf18..212c5c6ff7f 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;