mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Remove h8300-coff support
include/ * coff/h8300.h: Delete. bfd/ * Makefile.am: Remove h8300-coff support. * coffcode.h: Likewise. * config.bfd: Likewise. * configure.ac: Likewise. * reloc16.c: Likewise. * targets.c: Likewise. * coff-h8300.c: Delete. * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. binutils/ * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support. gas/ * config/obj-coff.h: Remove h8300-coff support. * config/tc-h8300.c: Likewise. * config/tc-h8300.h: Likewise. * testsuite/gas/h8300/h8300.exp: Likewise. * testsuite/gas/h8300/branch-coff.s: Delete. * testsuite/gas/h8300/branchh-coff.s: Delete. * testsuite/gas/h8300/branchs-coff.s: Delete. * testsuite/gas/h8300/ffxx1-coff.d: Delete. * testsuite/gas/h8300/ffxx1-coff.s: Delete. * testsuite/gas/h8300/h8300-coff.exp: Delete. ld/ * Makefile.am: Remove h8300-coff support. * configure.tgt: Likewise. * testsuite/ld-h8300/h8300.exp: Likewise. * emulparams/h8300.sh: Delete. * emulparams/h8300h.sh: Delete. * emulparams/h8300hn.sh: Delete. * emulparams/h8300s.sh: Delete. * emulparams/h8300sn.sh: Delete. * emulparams/h8300sx.sh: Delete. * emulparams/h8300sxn.sh: Delete. * scripttempl/h8300.sc: Delete. * scripttempl/h8300h.sc: Delete. * scripttempl/h8300hn.sc: Delete. * scripttempl/h8300s.sc: Delete. * scripttempl/h8300sn.sc: Delete. * scripttempl/h8300sx.sc: Delete. * scripttempl/h8300sxn.sc: Delete. * testsuite/ld-h8300/relax-3-coff.d: Delete. * testsuite/ld-h8300/relax-4-coff.d: Delete. * testsuite/ld-h8300/relax-5-coff.d: Delete. * testsuite/ld-h8300/relax-6-coff.d: Delete. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate.
This commit is contained in:
@@ -2285,51 +2285,6 @@ coff_set_arch_mach_hook (bfd *abfd, void * filehdr)
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef H8300MAGIC
|
||||
case H8300MAGIC:
|
||||
arch = bfd_arch_h8300;
|
||||
machine = bfd_mach_h8300;
|
||||
/* !! FIXME this probably isn't the right place for this. */
|
||||
abfd->flags |= BFD_IS_RELAXABLE;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef H8300HMAGIC
|
||||
case H8300HMAGIC:
|
||||
arch = bfd_arch_h8300;
|
||||
machine = bfd_mach_h8300h;
|
||||
/* !! FIXME this probably isn't the right place for this. */
|
||||
abfd->flags |= BFD_IS_RELAXABLE;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef H8300SMAGIC
|
||||
case H8300SMAGIC:
|
||||
arch = bfd_arch_h8300;
|
||||
machine = bfd_mach_h8300s;
|
||||
/* !! FIXME this probably isn't the right place for this. */
|
||||
abfd->flags |= BFD_IS_RELAXABLE;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef H8300HNMAGIC
|
||||
case H8300HNMAGIC:
|
||||
arch = bfd_arch_h8300;
|
||||
machine = bfd_mach_h8300hn;
|
||||
/* !! FIXME this probably isn't the right place for this. */
|
||||
abfd->flags |= BFD_IS_RELAXABLE;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef H8300SNMAGIC
|
||||
case H8300SNMAGIC:
|
||||
arch = bfd_arch_h8300;
|
||||
machine = bfd_mach_h8300sn;
|
||||
/* !! FIXME this probably isn't the right place for this. */
|
||||
abfd->flags |= BFD_IS_RELAXABLE;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef SH_ARCH_MAGIC_BIG
|
||||
case SH_ARCH_MAGIC_BIG:
|
||||
case SH_ARCH_MAGIC_LITTLE:
|
||||
@@ -2888,20 +2843,6 @@ coff_set_flags (bfd * abfd,
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
#ifdef H8300MAGIC
|
||||
case bfd_arch_h8300:
|
||||
switch (bfd_get_mach (abfd))
|
||||
{
|
||||
case bfd_mach_h8300: *magicp = H8300MAGIC; return TRUE;
|
||||
case bfd_mach_h8300h: *magicp = H8300HMAGIC; return TRUE;
|
||||
case bfd_mach_h8300s: *magicp = H8300SMAGIC; return TRUE;
|
||||
case bfd_mach_h8300hn: *magicp = H8300HNMAGIC; return TRUE;
|
||||
case bfd_mach_h8300sn: *magicp = H8300SNMAGIC; return TRUE;
|
||||
default: break;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef SH_ARCH_MAGIC_BIG
|
||||
case bfd_arch_sh:
|
||||
#ifdef COFF_IMAGE_WITH_PE
|
||||
|
||||
Reference in New Issue
Block a user