May I suggest restoring H8 support? These MCUs are still supported by
binutils and gcc and there are a few people who still use them.
The attached patch is a diff against revision 77221613 (from 22md March
2016), the last revision before H8 support removal. As you can see, the
changes are minor, mostly linker script name and its location.
Best regards,
Jan
baseboards/h8300-sim.exp | 4 ++--
baseboards/h8300.exp | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/baseboards/h8300-sim.exp b/baseboards/h8300-sim.exp
index 2743ad7..6b1c19a 100644
--- a/baseboards/h8300-sim.exp
+++ b/baseboards/h8300-sim.exp
@@ -18,7 +18,7 @@
# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
# This is a list of toolchains that are supported on this board.
-set_board_info target_install {h8300-hms}
+set_board_info target_install {h8300-elf}
# Load the tool-specific configuration for this board, as well as the
# generic configuration. This will define any routines needed by the
@@ -57,7 +57,7 @@ set_board_info gcc,stack_size 4096
set_board_info gcc,text_size 60000
# There's no long long support on this target
-set_board_info no_long_long 1
+set_board_info no_long_long 0
# sizeof int != sizeof long.
set_board_info gdb,short_int 1
diff --git a/baseboards/h8300.exp b/baseboards/h8300.exp
index 2e505de..d22d5f5 100644
--- a/baseboards/h8300.exp
+++ b/baseboards/h8300.exp
@@ -20,7 +20,7 @@
# Load the tool-specific configuration for this board, as well as the
# generic configuration. This will define any routines needed by the
# tool to communicate with the board.
-load_generic_config "h8300"
+load_generic_config "gdb-comm"
# Don't use anything by default.
process_multilib_options ""
@@ -54,14 +54,14 @@ set_board_info gcc,stack_size 4096
set_board_info unreliable 1
# There's no long long support on this target
-set_board_info no_long_long 1
+set_board_info no_long_long 0
# sizeof int != sizeof long.
set_board_info gdb,short_int 1
# Pick the right linker script if -mh/-ms is specified.
-set linker_script "h8300.ld"
+set linker_script "h8300helf.x"
foreach x $board_variant_list {
regsub -all "^\[ \t\]*" "$x" "" x
@@ -69,10 +69,10 @@ foreach x $board_variant_list {
switch -- $x {
"h" -
- "-mh" { set linker_script "h8300h.ld" }
+ "-mh" { set linker_script "h8300helf.x" }
"s" -
- "-ms" { set linker_script "h8300s.ld" }
+ "-ms" { set linker_script "h8300self.x" }
}
}
@@ -81,6 +81,6 @@ foreach x $board_variant_list {
# This one's dependent on the multilib options in use, sadly. And we
# *need* a linker script. Really. Otherwise the code gets linked at
# the wrong address and it won't run on the board.
-set_board_info ldscript "-T${prefix_dir}/h8300-hms/${linker_script}"
+set_board_info ldscript
"-T${prefix_dir}/h8300-elf/lib/ldscripts/${linker_script}"
unset linker_script