From: Alan Modra Date: Mon, 26 Aug 2002 09:01:41 +0000 (+0000) Subject: * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. X-Git-Tag: drow-cplus-branchpoint~534 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8e48751a62a183ae04ea34886cd8c3f544d6e41;p=thirdparty%2Fbinutils-gdb.git * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b55c6df9268..d3631b0e659 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-26 Alan Modra * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8. 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;