diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-07-01 01:04:48 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-07-01 20:53:00 -0400 |
commit | 7eb1f99adaa3515463b6082e4a911d8b334e852f (patch) | |
tree | 914ebe6a8f134e179355d95dd07814b01e11c020 /sim/v850 | |
parent | 313c332ff2d5cb2a681149254ca73ba041aa8630 (diff) | |
download | gdb-7eb1f99adaa3515463b6082e4a911d8b334e852f.zip gdb-7eb1f99adaa3515463b6082e4a911d8b334e852f.tar.gz gdb-7eb1f99adaa3515463b6082e4a911d8b334e852f.tar.bz2 |
sim: unify reserved instruction bits settings
Move these options up to the common dir so we only test & export
them once across all ports.
The setting only affects igen based ports, and they were turning
this on by default, so keep the default in place.
Diffstat (limited to 'sim/v850')
-rw-r--r-- | sim/v850/ChangeLog | 6 | ||||
-rw-r--r-- | sim/v850/aclocal.m4 | 1 | ||||
-rwxr-xr-x | sim/v850/configure | 22 | ||||
-rw-r--r-- | sim/v850/configure.ac | 1 |
4 files changed, 6 insertions, 24 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index b68aff0..aaa6866 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,9 @@ +2021-07-01 Mike Frysinger <vapier@gentoo.org> + + * configure.ac: Delete SIM_AC_OPTION_RESERVED_BITS call. + * aclocal.m4: Regenerate. + * configure: Regenerate. + 2021-06-30 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/v850/aclocal.m4 b/sim/v850/aclocal.m4 index f4393af..3b7f0c1 100644 --- a/sim/v850/aclocal.m4 +++ b/sim/v850/aclocal.m4 @@ -13,5 +13,4 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_include([../m4/sim_ac_option_bitsize.m4]) -m4_include([../m4/sim_ac_option_reserved_bits.m4]) m4_include([../m4/sim_ac_output.m4]) diff --git a/sim/v850/configure b/sim/v850/configure index e6f39fc..46e30c1 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -626,12 +626,10 @@ PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL -sim_reserved_bits sim_bitsize' ac_subst_files='' ac_user_opts=' enable_option_checking -enable_sim_reserved_bits enable_sim_bitsize ' ac_precious_vars='build_alias @@ -1244,9 +1242,6 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-sim-reserved-bits - Specify whether to check reserved bits in - instruction --enable-sim-bitsize=N Specify target bitsize (32 or 64) Report bugs to the package provider. @@ -1679,22 +1674,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - -default_sim_reserved_bits="1" -# Check whether --enable-sim-reserved-bits was given. -if test "${enable_sim_reserved_bits+set}" = set; then : - enableval=$enable_sim_reserved_bits; case "${enableval}" in - yes) sim_reserved_bits="-DWITH_RESERVED_BITS=1";; - no) sim_reserved_bits="-DWITH_RESERVED_BITS=0";; - *) as_fn_error $? "\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5; sim_reserved_bits="";; -esac -if test x"$silent" != x"yes" && test x"$sim_reserved_bits" != x""; then - echo "Setting reserved flags = $sim_reserved_bits" 6>&1 -fi -else - sim_reserved_bits="-DWITH_RESERVED_BITS=${default_sim_reserved_bits}" -fi - wire_word_bitsize="32" wire_word_msb="31" wire_address_bitsize="" @@ -1774,7 +1753,6 @@ ac_config_commands="$ac_config_commands stamp-h" - SIM_COMMON_BUILD_TRUE='#' SIM_COMMON_BUILD_FALSE= diff --git a/sim/v850/configure.ac b/sim/v850/configure.ac index 74eb1fa..1fa7c0e 100644 --- a/sim/v850/configure.ac +++ b/sim/v850/configure.ac @@ -2,7 +2,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(Makefile.in) AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config]) -SIM_AC_OPTION_RESERVED_BITS SIM_AC_OPTION_BITSIZE(32,31) SIM_AC_OUTPUT |