From 5518c738a47f0282d6fcc6768e1cde598e9538e0 Mon Sep 17 00:00:00 2001 From: Yoshinori Sato Date: Mon, 23 Feb 2015 17:04:53 +0000 Subject: Add support for the h8300-linux target. ld * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations. * Makefile.in: Regenerate. * configure.tgt: Add h8300-*-linux * emulparams/h8300elf_linux.sh: Add new emulation. * emulparams/h8300helf_linux.sh: Likewise. * emulparams/h8300self_linux.sh: Likewise. * emulparams/h8300sxelf_linux.sh: Likewise. bfd * config.bfd: Add h8300-*-linux. * configure.ac: Add h8300_elf32_linux_vec. * configure: Regenerate. * elf32-h8300.c: Likewise. * targets.c(_bfd_target_vector): Likewise. gas * config/tc-h8300.c (line_separater_chars): Add a version for h8300-linux that includes a separator. (default_mach): New variable. (md_main): Use it. (md_longopts): Add '--march' option. (md_parse_option): Parse the new option. * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux. * configure.tgt: Add h8300-*-linux * doc/c-h8300.texi: Document --march. --- bfd/config.bfd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/config.bfd') diff --git a/bfd/config.bfd b/bfd/config.bfd index 62f8ee4..b79c711 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -461,6 +461,10 @@ case "${targ}" in targ_underscore=yes ;; + h8300*-*-linux*) + targ_defvec=h8300_elf32_linux_vec + ;; + h8300*-*-*) targ_defvec=h8300_coff_vec targ_underscore=yes -- cgit v1.1