From patchwork Sun Jan 10 08:45:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 10314 Received: (qmail 102172 invoked by alias); 10 Jan 2016 08:45:23 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 102106 invoked by uid 89); 10 Jan 2016 08:45:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=7767, Features X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 10 Jan 2016 08:45:21 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 93AE9340894 for ; Sun, 10 Jan 2016 08:45:19 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: mips: drop SIM_AC_OPTION_SMP call [committed] Date: Sun, 10 Jan 2016 03:45:17 -0500 Message-Id: <1452415517-6673-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes 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. --- sim/mips/ChangeLog | 5 +++++ sim/mips/configure | 35 ++--------------------------------- sim/mips/configure.ac | 10 ---------- 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 + * configure.ac (SIM_AC_OPTION_SMP): Delete call. + * configure: Regenerate. + +2016-01-10 Mike Frysinger + * 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