* coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.

This commit is contained in:
Alan Modra 2002-08-26 09:01:41 +00:00
parent a2199cc1ea
commit c8e48751a6
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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;