From c8e48751a62a183ae04ea34886cd8c3f544d6e41 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 26 Aug 2002 09:01:41 +0000 Subject: [PATCH] * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. --- bfd/ChangeLog | 4 ++++ bfd/coffcode.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b55c6df926..d3631b0e65 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 bb777aaaf1..212c5c6ff7 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;