Fix bugs detecting w65 architecture.

This commit is contained in:
Nick Clifton
2000-08-22 20:11:36 +00:00
parent ec4eb78a39
commit 371e71b8de
3 changed files with 15 additions and 4 deletions

View File

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