]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: mips/or1k: drop redundant arg to bitsize macro
authorMike Frysinger <vapier@gentoo.org>
Tue, 30 Nov 2021 07:30:46 +0000 (02:30 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Dec 2021 07:36:10 +0000 (02:36 -0500)
These are just using the default behavior for the 3rd arg, so drop
it to make it more clear.  This also makes them match all other
ports that only use the first 2 arguments.

sim/mips/configure
sim/mips/configure.ac
sim/or1k/configure
sim/or1k/configure.ac

index 7627d73fe669422cf799404fa75a806b0cbd0374..2521ce8638d529aeef2d446742e26682a4573017 100755 (executable)
@@ -1709,7 +1709,6 @@ esac
 #
 # Select the bitsize of the target
 #
-mips_addr_bitsize=
 case "${target}" in
   mips*-sde-elf*)       mips_bitsize=64 ; mips_msb=63 ;;
   mips*-mti-elf*)       mips_bitsize=64 ; mips_msb=63 ;;
@@ -1722,7 +1721,7 @@ case "${target}" in
 esac
 wire_word_bitsize="$mips_bitsize"
 wire_word_msb="$mips_msb"
-wire_address_bitsize="$mips_addr_bitsize"
+wire_address_bitsize=""
 wire_cell_bitsize=""
 # Check whether --enable-sim-bitsize was given.
 if test "${enable_sim_bitsize+set}" = set; then :
index 9430923d89a1e61b8a266d3d86e0ca40195cfdb6..3277ebefbb35ba5cf3efbdc6727b3c78113984a9 100644 (file)
@@ -24,7 +24,6 @@ AC_SUBST(SIM_SUBTARGET)
 #
 # Select the bitsize of the target
 #
-mips_addr_bitsize=
 case "${target}" in
   mips*-sde-elf*)       mips_bitsize=64 ; mips_msb=63 ;;
   mips*-mti-elf*)       mips_bitsize=64 ; mips_msb=63 ;;
@@ -35,7 +34,7 @@ case "${target}" in
   mips*-*-*)            mips_bitsize=32 ; mips_msb=31 ;;
   *)                    mips_bitsize=64 ; mips_msb=63 ;;
 esac
-SIM_AC_OPTION_BITSIZE($mips_bitsize,$mips_msb,$mips_addr_bitsize)
+SIM_AC_OPTION_BITSIZE($mips_bitsize,$mips_msb)
 
 
 
index 8dc888458f3a276b6f9186e3a3e37ff2891c9f73..46e30c1cff06c07a66fcc4ec643abb4a4cfc7369 100755 (executable)
@@ -1676,7 +1676,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 wire_word_bitsize="32"
 wire_word_msb="31"
-wire_address_bitsize="32"
+wire_address_bitsize=""
 wire_cell_bitsize=""
 # Check whether --enable-sim-bitsize was given.
 if test "${enable_sim_bitsize+set}" = set; then :
index 4a989e3fc4f3749b3e0e79fc0238707fd024d288..a0fe51c897bc2455384bcff0d5a0013dccbb80cd 100644 (file)
@@ -2,6 +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_BITSIZE([32], [31], [32])
+SIM_AC_OPTION_BITSIZE([32], [31])
 
 SIM_AC_OUTPUT