Fix bugs detecting w65 architecture.
This commit is contained in:
parent
ec4eb78a39
commit
371e71b8de
3 changed files with 15 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-08-22 Doug Kwan <dkwan@transmeta.com>
|
||||
|
||||
* coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo.
|
||||
* coffcode.h (coff_set_flags): Add detection of w65 architecture.
|
||||
|
||||
2000-08-22 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* elf-bfd.h (elf_link_hash_table): Add runpath.
|
||||
|
|
|
@ -401,4 +401,4 @@ h8300_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr,
|
|||
bfd_coff_reloc16_get_relocated_section_contents
|
||||
#define coff_bfd_relax_section bfd_coff_reloc16_relax_section
|
||||
|
||||
CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w95", BFD_IS_RELAXABLE, 0, '_', NULL)
|
||||
CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue