diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-26 09:02:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-26 09:02:42 +0000 |
commit | 6b9096b6838971966bbc2ab87ae7d370cc97aabf (patch) | |
tree | 1f7606a755d82fd7d093b0594bec301edffa4c71 | |
parent | 901964b07681e207889c622b48ae43fcda5e677b (diff) | |
download | gdb-6b9096b6838971966bbc2ab87ae7d370cc97aabf.zip gdb-6b9096b6838971966bbc2ab87ae7d370cc97aabf.tar.gz gdb-6b9096b6838971966bbc2ab87ae7d370cc97aabf.tar.bz2 |
* coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/coffcode.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bdbb741..e3bc190 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-08-26 Alan Modra <amodra@bigpond.net.au> + + * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. + 2002-08-22 Alan Modra <amodra@bigpond.net.au> * configure.in: Unset is_release. 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; |