diff options
author | Nick Clifton <nickc@redhat.com> | 2000-08-22 20:11:36 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-08-22 20:11:36 +0000 |
commit | 61262d0af53f551d1454719846266c8b57a4adbe (patch) | |
tree | 1488e8f7acb509a7faaf36fb653a7095c3b07600 /bfd/coffcode.h | |
parent | b1919d85dd86b84507c16d6d7329870915a8f6da (diff) | |
download | gdb-61262d0af53f551d1454719846266c8b57a4adbe.tar.gz |
Fix bugs detecting w65 architecture.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index a122057df22..2750ad7d820 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -2716,9 +2716,15 @@ coff_set_flags (abfd, magicp, flagsp) return true; #endif - default: /* Unknown architecture */ - /* return false; -- fall through to "return false" below, to avoid - "statement never reached" errors on the one below. */ +#ifdef W65MAGIC + case bfd_arch_w65: + *magicp = W65MAGIC; + return true; +#endif + + default: /* Unknown architecture. */ + /* Fall through to "return false" below, to avoid + "statement never reached" errors on the one below. */ break; } |