sim: move default model to the runtime sim state
authorMike Frysinger <vapier@gentoo.org>
Tue, 29 Jun 2021 02:07:44 +0000 (22:07 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 30 Jun 2021 06:57:45 +0000 (02:57 -0400)
commitd414eb3e7fc1e82d68e69ba6a9a867b9d9a9dba2
treec82ef917cb7fabce6d96e5357474f398b7de73be
parent1c636da093f335cd57e7fca0fc25ae9f9e849264
sim: move default model to the runtime sim state

This kills off another compile-time option by moving the setting to
the individual arch runtimes.  This will allow dynamic selection by
the arch when doing a single build with multiple arches.

The sim_model_init rework is a little funky.  In the past it was
disabled entirely if no default model was set.  We maintain the
spirit of the logic by gating the fallback logic on whether the
port has defined any models.
62 files changed:
sim/ChangeLog
sim/Makefile.in
sim/bfin/ChangeLog
sim/bfin/aclocal.m4
sim/bfin/configure
sim/bfin/configure.ac
sim/bfin/interp.c
sim/bpf/ChangeLog
sim/bpf/aclocal.m4
sim/bpf/configure
sim/bpf/configure.ac
sim/bpf/sim-if.c
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/sim-base.h
sim/common/sim-model.c
sim/common/sim-model.h
sim/configure
sim/configure.ac
sim/cris/ChangeLog
sim/cris/aclocal.m4
sim/cris/configure
sim/cris/configure.ac
sim/cris/sim-if.c
sim/frv/ChangeLog
sim/frv/aclocal.m4
sim/frv/configure
sim/frv/configure.ac
sim/frv/sim-if.c
sim/iq2000/ChangeLog
sim/iq2000/aclocal.m4
sim/iq2000/configure
sim/iq2000/configure.ac
sim/iq2000/sim-if.c
sim/lm32/ChangeLog
sim/lm32/aclocal.m4
sim/lm32/configure
sim/lm32/configure.ac
sim/lm32/sim-if.c
sim/m32r/ChangeLog
sim/m32r/aclocal.m4
sim/m32r/configure
sim/m32r/configure.ac
sim/m32r/sim-if.c
sim/m4/sim_ac_option_default_model.m4 [deleted file]
sim/m4/sim_ac_output.m4
sim/mips/ChangeLog
sim/mips/configure
sim/mn10300/ChangeLog
sim/mn10300/configure
sim/or1k/ChangeLog
sim/or1k/aclocal.m4
sim/or1k/configure
sim/or1k/configure.ac
sim/or1k/sim-if.c
sim/riscv/ChangeLog
sim/riscv/aclocal.m4
sim/riscv/configure
sim/riscv/configure.ac
sim/riscv/interp.c
sim/v850/ChangeLog
sim/v850/configure