mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
Fix bugs detecting w65 architecture.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user