[PATCH] h8300: Remove h8sim references

Aun-Ali Zaidi admin at kodeit.net
Mon Dec 14 00:48:24 UTC 2015


updates #2453.
---
 dejagnu/boards/rtems-h8300-h8sim.exp   | 40 ----------------------------------
 gcc/RTEMS_GCC_Testing.txt              |  2 +-
 gcc/do_one                             |  1 -
 gcc/parallelize_build                  |  2 +-
 gcc/rundeja                            |  6 -----
 gcc/testsuite/ada/acats/Makefile.rtems |  3 ---
 sim-scripts/.gitignore                 |  2 --
 sim-scripts/Makefile                   |  5 +----
 sim-scripts/README                     |  1 -
 sim-scripts/h8sim.in                   | 26 ----------------------
 10 files changed, 3 insertions(+), 85 deletions(-)
 delete mode 100755 dejagnu/boards/rtems-h8300-h8sim.exp
 delete mode 100644 sim-scripts/h8sim.in

diff --git a/dejagnu/boards/rtems-h8300-h8sim.exp b/dejagnu/boards/rtems-h8300-h8sim.exp
deleted file mode 100755
index 3da3ec4..0000000
--- a/dejagnu/boards/rtems-h8300-h8sim.exp
+++ /dev/null
@@ -1,40 +0,0 @@
-# This is a list of toolchains that are supported on this board.
-set_board_info target_install {}
-
-# Load the generic configuration for this board, This will define a basic
-# set of routines needed by the tool to communicate with the board.
-load_generic_config "sim"
-
-# basic-sim.exp is a basic description for the standard Cygnus simulator.
-load_base_board_description "basic-sim"
-
-# The name of the simulator is "nosim"
-setup_sim h8sim
-
-# No multilib flags needed by default.
-process_multilib_options ""
-
-# The compiler used to build for this board. This has *nothing* to do
-# with what compiler is tested if we're testing gcc.
-set_board_info compiler  "[find_gcc]"
-
-set_board_info cflags  "[newlib_include_flags] -mh -mint32 -B${RTEMS_MAKEFILE_PATH}/lib/ -specs bsp_specs -qrtems -DUNDERSCORES -Wl,-wrap,_exit -Wl,-wrap,_main -Wl,-wrap,_abort  -Wl,-wrap,_exit-Wl,-wrap,__exit "
-set_board_info ldflags "[newlib_link_flags] ${RTEMS_CONFIG_OBJ}"
-
-# The simulator isn't really remote.
-set_board_info isremote 0
-# We only have a small stack available to us
-set_board_info gcc,stack_size 2048
-
-# wrapper script which handles the device tree
-set_board_info sim "h8sim"
-set_board_info sim,options "-i"
-
-# No support for signals on this target.
-set_board_info gdb,nosignals 1
-
-# The simulator doesn't return exit statuses and we need to indicate this.
-set_board_info needs_status_wrapper 1
-
-# Can't call functions from GDB.
-# set_board_info gdb,cannot_call_functions 1
diff --git a/gcc/RTEMS_GCC_Testing.txt b/gcc/RTEMS_GCC_Testing.txt
index 8bd886f..df9e3f3 100644
--- a/gcc/RTEMS_GCC_Testing.txt
+++ b/gcc/RTEMS_GCC_Testing.txt
@@ -129,7 +129,7 @@ this target
 | arm-rtems*         | edb7312    | Skyeye
 | avr-rtems*         | avrtest    | avrtest
 | bfin-rtems*        | eZKit533   | Skyeye
-| h8300-rtems*       | h8sim      | gdb
+| h8300-rtems*       | N/A        | not supported
 | i386-rtems*        | pc386      | qemu
 | lm32-rtems*        | lm32_evr   | gdb
 | m32c-rtems*        | m32csim    | gdb
diff --git a/gcc/do_one b/gcc/do_one
index 4b9fc14..173af02 100755
--- a/gcc/do_one
+++ b/gcc/do_one
@@ -358,7 +358,6 @@ if [ ${needCPU} = yes -a ${needBSP} = yes -a \
     arm-realview_pbx_a9_qemu) dejacfg=rtems-arm-realview_pbx_a9_qemu ;;
     avr-avrtest)          dejacfg=rtems-avr-avrtest ;;
     bfin-eZKit533)        dejacfg=rtems-bfin-nosim ;;
-    h8300-h8sim)          dejacfg=rtems-h8300-h8sim ;;
     i386-pc386|i386-qemu) dejacfg=rtems-i386-qemu ;;
     lm32-lm32_evr)        dejacfg=rtems-lm32-lm32_evr ;;
     m32c-m32csim)         dejacfg=rtems-m32c-m32csim ;;
diff --git a/gcc/parallelize_build b/gcc/parallelize_build
index cf55c21..3497bb2 100755
--- a/gcc/parallelize_build
+++ b/gcc/parallelize_build
@@ -181,7 +181,7 @@ if [ ${do_tools} = "yes" ] ; then
 ${BASEDIR}/rtems-testing/gcc/do_one  -B1 -A ${args} arm edb7312
 ${BASEDIR}/rtems-testing/gcc/do_one  -B1 -A ${args} avr avrtest
 ${BASEDIR}/rtems-testing/gcc/do_one  -B1 -A ${args} bfin eZKit533
-${BASEDIR}/rtems-testing/gcc/do_one  -B1 -A ${args} h8300 h8sim
+${BASEDIR}/rtems-testing/gcc/do_one  -B1 -A ${args} h8300
 ${BASEDIR}/rtems-testing/gcc/do_one  -B1 -A ${args} i386 pc386
 ${BASEDIR}/rtems-testing/gcc/do_one  -B1 -A ${args} lm32 lm32_evr
 ${BASEDIR}/rtems-testing/gcc/do_one  -B1 -A ${args} m32c m32csim
diff --git a/gcc/rundeja b/gcc/rundeja
index de037e4..cde46db 100755
--- a/gcc/rundeja
+++ b/gcc/rundeja
@@ -65,12 +65,6 @@ case $1 in
     DEJABSP=uC5282
     BSP_SIM=uC5282
     ;;
-  h8sim) 
-    CPU=h8300
-    BSP=h8sim
-    DEJABSP=h8sim
-    BSP_SIM=h8sim
-    ;;
   simsh1) 
     CPU=sh
     BSP=simsh1
diff --git a/gcc/testsuite/ada/acats/Makefile.rtems b/gcc/testsuite/ada/acats/Makefile.rtems
index 58d97a1..4124b1b 100644
--- a/gcc/testsuite/ada/acats/Makefile.rtems
+++ b/gcc/testsuite/ada/acats/Makefile.rtems
@@ -60,9 +60,6 @@ stamp-targetrun:
   ifeq ($(RTEMS_BSP),simsh1)
 	echo "  simsh -C -l 60 $$"'*' >> $@
   endif # simsh1
-  ifeq ($(RTEMS_BSP),h8sim)
-	echo "  h8sim -C -l 60 $$"'*' >> $@
-  endif # h8sim
   ifeq ($(RTEMS_BSP),qemuppc)
 	echo "  qemuppc -C -l 90 $$"'*' >> $@
   endif # qemuppc
diff --git a/sim-scripts/.gitignore b/sim-scripts/.gitignore
index 30df64f..6e6da37 100644
--- a/sim-scripts/.gitignore
+++ b/sim-scripts/.gitignore
@@ -23,8 +23,6 @@ gdbarmsim
 gdbarmsim-gdb
 gumstix
 gumstix-gdb
-h8sim
-h8sim-gdb
 jmr3904
 jmr3904-gdb
 leon2
diff --git a/sim-scripts/Makefile b/sim-scripts/Makefile
index da47201..2b63b70 100644
--- a/sim-scripts/Makefile
+++ b/sim-scripts/Makefile
@@ -1,5 +1,5 @@
 INSTALL_DIR=../bin
-GDBSIM_SCRIPTS=bf537Stamp ezkit533 gdbarmsim h8sim jmr3904 lm32_evr \
+GDBSIM_SCRIPTS=bf537Stamp ezkit533 gdbarmsim jmr3904 lm32_evr \
   m32csim m32rsim or1ksim psim sis erc32 leon2 leon3 simsh v850sim
 SKYEYE_SCRIPTS=ant5206 bf537Stamp-skyeye csb337 csb350 csb360 edb7312 \
   ezkit533-skyeye gumstix rtl22xx smdk2410 leon2-skyeye
@@ -118,9 +118,6 @@ ezkit533 ezkit533-gdb: gdb-sim-run.in gdb-sim.in ezkit533.in
 gdbarmsim gdbarmsim-gdb: gdb-sim-run.in gdb-sim.in gdbarmsim.in
 	./mkrun yes ARM arm gdbarmsim
 
-h8sim h8sim-gdb: gdb-sim-run.in gdb-sim.in h8sim.in
-	./mkrun yes H8300 h8300 h8sim
-
 jmr3904 jmr3904-gdb: gdb-sim-run.in gdb-sim.in jmr3904.in
 	./mkrun yes MIPS mipstx39 jmr3904
 
diff --git a/sim-scripts/README b/sim-scripts/README
index 3c6c8b2..839e69c 100644
--- a/sim-scripts/README
+++ b/sim-scripts/README
@@ -7,7 +7,6 @@ NOTES:
 [1] The script name is intended to match the name of the BSP it will run
     executables for.  But there are a few scripts which can run multiple BSPs:
 	simsh - 
-	h8sim - h8sim, h8sxsim
 
 [2] The BSPs ant5206, csb350, and csb360 do not run yet on Skyeye.  This
     is a known Skyeye issue being addressed.
diff --git a/sim-scripts/h8sim.in b/sim-scripts/h8sim.in
deleted file mode 100644
index 9e936b9..0000000
--- a/sim-scripts/h8sim.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#  H8300/h8sim Support 
-#
-
-runARGS()
-{
-  echo ${1}
-}
-
-checkBSPFaults()
-{
-  return 0
-}
-
-bspLimit()
-{
-  testname=$1
-  case ${testname} in
-    *stackchk*)limit=5 ;;
-    *fatal*)   limit=1 ;;
-    *minimum*) limit=1 ;;
-    *psxtime*) limit=180 ;;
-    *)         limit=60 ;;
-  esac
-  echo ${limit}
-}
-- 
2.1.4


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.                          



More information about the devel mailing list