aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-02-23 17:04:53 +0000
committerNick Clifton <nickc@redhat.com>2015-02-23 17:04:53 +0000
commit5518c738a47f0282d6fcc6768e1cde598e9538e0 (patch)
tree050864a60a9e3980b1041bdcc967cbc847c545cd /ld/configure.tgt
parent1f10ba14bc8c53120432ccc7b2ba5605b4cee80e (diff)
downloadgdb-5518c738a47f0282d6fcc6768e1cde598e9538e0.zip
gdb-5518c738a47f0282d6fcc6768e1cde598e9538e0.tar.gz
gdb-5518c738a47f0282d6fcc6768e1cde598e9538e0.tar.bz2
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.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index f16c845..a46fbca 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -198,6 +198,9 @@ h8300-*-hms* | h8300-*-coff* | h8300-*-rtemscoff*)
h8300-*-elf* | h8300-*-rtems*)
targ_emul=h8300elf;
targ_extra_emuls="h8300helf h8300self h8300hnelf h8300snelf h8300sxelf h8300sxnelf" ;;
+h8300-*-linux*)
+ targ_emul=h8300elf_linux;
+ targ_extra_emuls="h8300helf_linux h8300self_linux h8300sxelf_linux" ;;
h8500-*-hms* | h8500-*-coff* | h8500-*-rtems*)
targ_emul=h8500
targ_extra_emuls="h8500s h8500b h8500m h8500c"