forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
23
sim/mips/configure
vendored
23
sim/mips/configure
vendored
@@ -635,13 +635,11 @@ PACKAGE_TARNAME
|
||||
PACKAGE_NAME
|
||||
PATH_SEPARATOR
|
||||
SHELL
|
||||
sim_reserved_bits
|
||||
sim_float
|
||||
sim_bitsize'
|
||||
ac_subst_files=''
|
||||
ac_user_opts='
|
||||
enable_option_checking
|
||||
enable_sim_reserved_bits
|
||||
enable_sim_bitsize
|
||||
enable_sim_float
|
||||
'
|
||||
@@ -1255,9 +1253,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)
|
||||
--enable-sim-float Specify that the target processor has floating point
|
||||
hardware
|
||||
@@ -1692,23 +1687,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
|
||||
|
||||
|
||||
# DEPRECATED
|
||||
#
|
||||
# Instead of defining a `subtarget' macro, code should be checking
|
||||
@@ -2208,7 +2186,6 @@ ac_config_commands="$ac_config_commands stamp-h"
|
||||
|
||||
|
||||
|
||||
|
||||
SIM_COMMON_BUILD_TRUE='#'
|
||||
SIM_COMMON_BUILD_FALSE=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user