aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-10 02:49:15 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 03:42:06 -0500
commit6d90347b5dcbb10ecb410b1246613c0caf511bd9 (patch)
treefa877782f00a57372cbebc78901078dc87047d70 /sim/mips
parent347fe5bb868b7383d4f6942894b31ecf1da6894e (diff)
downloadgdb-6d90347b5dcbb10ecb410b1246613c0caf511bd9.zip
gdb-6d90347b5dcbb10ecb410b1246613c0caf511bd9.tar.gz
gdb-6d90347b5dcbb10ecb410b1246613c0caf511bd9.tar.bz2
sim: mips: drop SIM_AC_OPTION_SMP call
No other port calls this macro directly, and mips has it hardcoded to the default -- disabling smp. In the future we'll enable this for all targets in common code, so tidy up the mips code now.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog5
-rwxr-xr-xsim/mips/configure35
-rw-r--r--sim/mips/configure.ac10
3 files changed, 7 insertions, 43 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 21e832c..9d88694 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure.ac (SIM_AC_OPTION_SMP): Delete call.
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/mips/configure b/sim/mips/configure
index acd36b2..9182055 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -776,7 +776,6 @@ enable_sim_reserved_bits
enable_sim_endian
enable_sim_bitsize
enable_sim_float
-enable_sim_smp
enable_sim_hardware
with_x
'
@@ -1445,8 +1444,6 @@ Optional Features:
--enable-sim-bitsize=N Specify target bitsize (32 or 64)
--enable-sim-float Specify that the target processor has floating point
hardware
- --enable-sim-smp=n Specify number of processors to configure for
- (default ${default_sim_smp})
--enable-sim-hardware=LIST
Specify the hardware to be included in the build.
@@ -12878,7 +12875,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12881 "configure"
+#line 12878 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12984,7 +12981,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12987 "configure"
+#line 12984 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13842,34 +13839,6 @@ fi
#
-# Select the level of SMP support
-#
-case "${target}" in
- *) mips_smp=0 ;;
-esac
-
-default_sim_smp="$mips_smp"
-# Check whether --enable-sim-smp was given.
-if test "${enable_sim_smp+set}" = set; then :
- enableval=$enable_sim_smp; case "${enableval}" in
- yes) sim_smp="-DWITH_SMP=5" ; sim_igen_smp="-N 5";;
- no) sim_smp="-DWITH_SMP=0" ; sim_igen_smp="-N 0";;
- *) sim_smp="-DWITH_SMP=$enableval" ; sim_igen_smp="-N $enableval";;
-esac
-if test x"$silent" != x"yes" && test x"$sim_smp" != x""; then
- echo "Setting smp flags = $sim_smp" 6>&1
-fi
-else
- sim_smp="-DWITH_SMP=${default_sim_smp}" ; sim_igen_smp="-N ${default_sim_smp}"
-if test x"$silent" != x"yes"; then
- echo "Setting smp flags = $sim_smp" 6>&1
-fi
-fi
-
-
-
-
-#
# Select the IGEN architecture
#
sim_gen=IGEN
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index c21faaf..476fc35 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -87,16 +87,6 @@ SIM_AC_OPTION_FLOAT($mips_fpu,$mips_fpu_bitsize)
#
-# Select the level of SMP support
-#
-case "${target}" in
- *) mips_smp=0 ;;
-esac
-SIM_AC_OPTION_SMP($mips_smp)
-
-
-
-#
# Select the IGEN architecture
#
sim_gen=IGEN