diff options
author | Doug Evans <dje@google.com> | 1998-12-15 01:06:46 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-12-15 01:06:46 +0000 |
commit | 985fe436323af246806abeaf2f927a4551fc4230 (patch) | |
tree | 26a7902fa68048c45af4ccbe510243e47be2e23a /sim/m32r | |
parent | fc5b254aa6be44352ff69e6dabf178d641cf3c2d (diff) | |
download | binutils-gdb-985fe436323af246806abeaf2f927a4551fc4230.tar.gz |
* configure.in: --enable-cgen-maint support moved to common/aclocal.m4.
(SIM_AC_OPTION_ALIGNMENT): Make strict.
* configure: Regenerate.
* sem-switch.c,sem.c,semx-switch.c: Regenerate.
* sim-main.h (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Define.
* traps.c (m32r_core_signal): Handle --environment=operating.
Diffstat (limited to 'sim/m32r')
-rw-r--r-- | sim/m32r/configure.in | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/sim/m32r/configure.in b/sim/m32r/configure.in index 1a73fe360b1..c59be081200 100644 --- a/sim/m32r/configure.in +++ b/sim/m32r/configure.in @@ -9,43 +9,12 @@ sim_link_files="${sim_link_files} m32r-sim.h ../../opcodes/m32r-opc.h" sim_link_links="${sim_link_links} cpu-sim.h cpu-opc.h" SIM_AC_OPTION_ENDIAN(BIG_ENDIAN) -SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT) +SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT) SIM_AC_OPTION_HOSTENDIAN SIM_AC_OPTION_SCACHE(16384) SIM_AC_OPTION_DEFAULT_MODEL(m32r/d) SIM_AC_OPTION_ENVIRONMENT SIM_AC_OPTION_INLINE() - -cgen_maint=no -# Default is to use one in build tree. -cgen=../../cgen/cgen -cgendir='$(srcdir)/../../cgen' -# Having --enable-maintainer-mode take arguments is another way to go. -# ??? One can argue --with is more appropriate if one wants to specify -# a directory name, but what we're doing here is an enable/disable kind -# of thing and specifying both --enable and --with is klunky. -# If you reeely want this to be --with, go ahead and change it. -AC_ARG_ENABLE(cgen-maint, -[ --enable-cgen-maint[=dir] build cgen generated files], -[case "${enableval}" in - yes) cgen_maint=yes ;; - no) cgen_maint=no ;; - *) - # argument is cgen install directory (not implemented yet). - # Having a `share' directory might be more appropriate for the .scm, - # .cpu, etc. files. - cgendir=${cgen_maint}/lib/cgen - cgen=${cgendir}/bin/cgen - ;; -esac])dnl -dnl AM_CONDITIONAL(CGEN_MAINT, test x${cgen_maint} != xno) -if test x${cgen_maint} != xno ; then - CGEN_MAINT='' -else - CGEN_MAINT='#' -fi -AC_SUBST(CGEN_MAINT) -AC_SUBST(cgendir) -AC_SUBST(cgen) +SIM_AC_OPTION_CGEN_MAINT SIM_AC_OUTPUT |