3d7075f5f5
[common/ChangeLog] 1998-12-01 Frank Ch. Eigler <fche@elastic.org> * sim-gx-run.c (sim_engine_run): Use new tgx_info struct to collect run-time arguments to gx block. * sim-gx.h (sim_gx_function): Corresponding signature change. * sim-gx.c (sim_gx_compiled_block_f): Remove nonfunctional code to again compile a gx block source file. (sim_gx_compiled_block_dispose): Uninstall obsoleted gx block shared libraries. (sim_gx_block_translate): Always emit new "gx_label_NNNN" labels, for basic block entry points, even if !__GNUC__. [m32r-gx/ChangeLog] 1998-12-01 Frank Ch. Eigler <fche@elastic.org> * Makefile.in (SIM_OBJS): Don't build sim-core.o. * configure.in: Added --enable-sim-inline support. Look for "getenv()" function. * configure: Rebuilt. * config.in: Rebuilt. * gx-translate.c: Include "sim-inline.c" for sim-core inlining. (m32r_gx_{load,store}*): Update signature. (tgx_emit_pre_function): Emit new "tgx_info" struct, update callback function signatures. (m32r_emit_*_insn): Use new callback signatures. For all short branches in optimized mode, emit direct "goto gx_label_NNNN". (tgx_optimize_test): If the GX_OPTIMIZE environment variable is set, allow its integer value to override the optimization heuristic. * m32r-sim.h: New empty placeholder file. * sim-main.c: New empty placeholder file. * sim-if.c (sim_create_inferior): Use NULL instead of &abort for unimplemented register fondling functions. * sim-main.h: Add multiple inclusion guard. Update callback function signatures. (tgx_info): New struct for collecting gx block invocation arguments.
28 lines
620 B
Text
28 lines
620 B
Text
dnl Process this file with autoconf to produce a configure script.
|
|
sinclude(../common/aclocal.m4)
|
|
AC_PREREQ(2.5)dnl
|
|
AC_INIT(Makefile.in)
|
|
|
|
|
|
SIM_AC_COMMON
|
|
|
|
program_transform_name="s,^,${program_prefix}gx-,"
|
|
target_alias="${target_alias}-gx"
|
|
|
|
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_HOSTENDIAN
|
|
SIM_AC_OPTION_DEFAULT_MODEL(m32r/d)
|
|
SIM_AC_OPTION_ENVIRONMENT
|
|
SIM_AC_OPTION_INLINE
|
|
|
|
AC_CHECK_LIB(dl, dlopen)
|
|
AC_CHECK_FUNCS(getenv)
|
|
|
|
SIM_AC_OUTPUT
|
|
|
|
|
|
|