aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-30 02:30:46 -0500
committerMike Frysinger <vapier@gentoo.org>2021-12-16 02:36:10 -0500
commit7d554943ba2f60d7562a7f7360b683885313dec8 (patch)
treefe5e0e169b8dd259ce3e74a600e06ab4764e30e4 /sim/mips
parent444cc278b91ad5410626a0039e7eae823e7063d6 (diff)
downloadfsf-binutils-gdb-7d554943ba2f60d7562a7f7360b683885313dec8.zip
fsf-binutils-gdb-7d554943ba2f60d7562a7f7360b683885313dec8.tar.gz
fsf-binutils-gdb-7d554943ba2f60d7562a7f7360b683885313dec8.tar.bz2
sim: mips/or1k: drop redundant arg to bitsize macro
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.
Diffstat (limited to 'sim/mips')
-rwxr-xr-xsim/mips/configure3
-rw-r--r--sim/mips/configure.ac3
2 files changed, 2 insertions, 4 deletions
diff --git a/sim/mips/configure b/sim/mips/configure
index 7627d73..2521ce8 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -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 :
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index 9430923..3277ebe 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -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)