Fix sh64-elf sim, default hardware to off.
authorHans-Peter Nilsson <hp@bitrange.com>
Sat, 23 Aug 2014 02:40:36 +0000 (04:40 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Sat, 23 Aug 2014 02:40:36 +0000 (04:40 +0200)
See nearby (previous) commit for the iq2000 sim; this similarly fails
at the dv_sockser_install declaration in sim/sh64/tconfig.in.  I'm
disabling simulator hardware to be consistent with the state before
94c63d78f (2013-03-23) and with the actions for the frv sim and the
iq2000 sim.  Make check-sim for sh64-elf shows no regressions (25
failures; 357 expected passes) compared to bf3d9781ec049 (before the
recent config.in regen, after sim-hardware mostly-enabled) and
eed23bb4a1 (before the sim-hardware mostly-enabled; 2013-03-23).

sim/sh64:
* configure.ac: Default simulator hardware to off again
without emitting errors when off or dv-sockser.o unavailable.
* configure: Regenerate.

sim/sh64/ChangeLog
sim/sh64/configure
sim/sh64/configure.ac

index 4fbe8a3447e7de18a6c6ed848744abf36bb3ec78..05d032994dbb6b585c723a5d7556bdb03f811916 100644 (file)
@@ -1,3 +1,9 @@
+2014-08-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.ac: Default simulator hardware to off again
+       without emitting errors when off or dv-sockser.o unavailable.
+       * configure: Regenerate.
+
 2014-08-19  Alan Modra  <amodra@gmail.com>
 
        * configure: Regenerate.
index 578b567dad89c9b5215f25030c8e6ca0cb72a069..18f98fb7fa9adc72404551fb51cddec159c3d4f3 100755 (executable)
@@ -13445,7 +13445,7 @@ fi
 
 
 
-if test x"always" != x"no"; then
+if test x"no" != x"no"; then
   enable_sim_hardware=yes
 else
   enable_sim_hardware=no
@@ -13476,7 +13476,7 @@ case ${enable_sim_hardware} in
 esac
 
 if test "$sim_hw_p" != yes; then
-  if test "always" = "always"; then
+  if test "no" = "always"; then
     as_fn_error "Sorry, but this simulator requires that hardware support
 be enabled. Please configure without --disable-hw-support." "$LINENO" 5
   fi
 fi
 
 
-if test -z "$SIM_DV_SOCKSER_O"; then
-       as_fn_error "Sorry, but hardware support in this simulator
-unconditionally relies on dv-sockser.o which is unavailable for your host.
-Please fix this simulator." "$LINENO" 5
-fi
-
 
 ac_sources="$sim_link_files"
 ac_dests="$sim_link_links"
index 1ce3e756c5c180e3aa8f5189cd1744f218fb8db6..b0a875de13dc42d00709bc4cb91cf4e67a32f235 100644 (file)
@@ -14,13 +14,7 @@ SIM_AC_OPTION_ENVIRONMENT
 SIM_AC_OPTION_INLINE()
 SIM_AC_OPTION_CGEN_MAINT
 
-SIM_AC_OPTION_HARDWARE(always,"","")
-
-if test -z "$SIM_DV_SOCKSER_O"; then
-       AC_MSG_ERROR([Sorry, but hardware support in this simulator
-unconditionally relies on dv-sockser.o which is unavailable for your host.
-Please fix this simulator.])
-fi
+SIM_AC_OPTION_HARDWARE(no,"","")
 
 SIM_AC_OUTPUT
 
This page took 0.039298 seconds and 4 git commands to generate.