Add a number of per-simulator options: hostendian, endian, inline, warnings.
[external/binutils.git] / sim / common / ChangeLog
index ab2f499..d5e2b58 100644 (file)
@@ -1,3 +1,160 @@
+Fri Mar 14 19:51:21 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * aclocal.m4 (--enable-sim-hostendian): New option.  Allow the
+       host endianness to be overridden.
+       (--enable-sim-endian): Allow the target platform's byte order
+       to be overridden.
+       (--enable-sim-inline): Control the inlining of common components.
+       (--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
+       (--enable-sim-warnings): Enable additional GCC compiler checks.
+       * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
+       SIM_WARNINGS): Add.
+       
+       * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
+       sim-*-n.h so that the names are uniq on dos machines
+       * sim-core.c, sim-bits.c, sim-endian.c: Update.
+       
+Thu Mar 13 12:32:42 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * run.c: #include "libiberty.h".
+       (main): New locals sd,no_args,sim_argv.
+       Run buildargv on -a option.  Pass argv to sim_open, argv[0]
+       is program name.  Update call to sim_set_callbacks.
+       Record result of sim_open, pass to other sim_foo routines.
+
+Thu Mar 13 10:24:05 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * callback.c (os_printf_filtered): Do not call exit(1) or print a
+       final newline.
+
+Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
+       Route stdout through buffered IO.
+
+       * callback.c: Add os_flush_stderr, os_write_stderr,
+       os_evprintf_filtered functions to route error output through
+       stderr.
+       
+       * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
+       Correct return type - should be void.
+
+Fri Mar  7 20:14:37 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-basics.h: Clean up.  Many macro's moved to sim-inline.h.
+
+       * sim-config.h: Ditto.  For some options - eg WITH_DEVICES - do
+       not provide a default value as undefined indicates disable code.
+
+Thu Mar  6 15:50:28 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
+       directory.
+       * sim-events.h, sim-events.c: Ditto.
+       * sim-io.h, sim-io.c: Ditto.
+       
+Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+       
+       * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
+
+       * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
+       extract the tail or least signifiant bits from an integer of the
+       specified size.
+       
+       * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
+       WITH_TARGET_BITSIZE so that the compilation will fail when an
+       unsupported bitsize value is defined.
+
+       (INSERTED*): Convert to functions.
+       (EXTRACTED*): Ditto.
+       
+       (SIGN_EXTEND, SEXT): Change to more terse name.
+       
+Tue Mar  4 09:35:56 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-inline.h: Allow explicit control over which .c files will be
+       included by their header.
+
+       * sim-inline.h: Allow explicit control over which .c files use the
+       alternative - REGPARM - parameter passing mechanism.
+       
+       * sim-inline.h, sim-inline.c: Don't attempt to include any of
+       icache.c, idecode.c, semantics.c or support.c.  Those names are
+       not generally applicable.
+       
+Thu Feb 27 10:17:23 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
+       in a fashion similar to sim-endian-n.
+
+       * sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
+       both value and address macro's.
+
+Tue Feb 25 18:51:57 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
+
+       * sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
+
+       * sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
+       generic L_word, H_word macro's.
+
+Thu Feb 20 18:36:55 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * sim-basics.h: Borrow code from ppc directory.
+       * sim-bits.c: Ditto.
+       * sim-bits.h: Ditto.
+       * sim-config.h: Ditto.
+       * sim-endian-n.h: Ditto.
+       * sim-endian.c: Ditto.
+       * sim-endian.h: Ditto.
+       * sim-inline.c: Ditto.
+       * sim-inline.h: Ditto.
+       * sim-types.h: Ditto.
+
+Wed Feb 19 12:40:50 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
+       all the ALU size alternatives and then auto-configure a default.
+       
+       * sim-alu.h: Copy ppc/idecode_expression.h.
+
+Mon Feb 17 10:44:18 1997  Andrew Cagney  <cagney@critters.cygnus.com>
+
+       * bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
+       sign extend a bit within a value.
+
+       * sim-endian.h, sim-endian-n.h (offset_N): New functions - return
+       a pointer into the middle of a host word.
+       * sim-endian.h (MS2W_4, LS2W_4): Use this function.
+       
+Tue Feb 11 13:46:49 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * callback.c: If HAVE_CONFIG_H is defined, include config.h from
+       autoconf.  If HAVE_UNISTD_H is defined, include unistd.h to get
+       appropriate definitions of read, write, etc.  Add prototype for
+       system.
+
+Tue Feb  4 13:24:44 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (libcommon.a): Delete.
+       (callback.o,targ-map.o): Delete, moved to Make-common.in.
+       (gentmap,targ-vals.h,targ-map.c): Likewise.
+       (run-autoconf): Delete.
+       * aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
+       (common makefile fragment): Moved back into ...
+       * Make-common.in: Resurrect.
+       * configure.in (AC_LINK_FILES): Delete, unnecessary now.
+       * configure: Regenerated.
+
+Fri Jan 31 07:16:49 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
+       (SIM_AC_OUTPUT): To here.
+
+Fri Jan 24 10:37:17 1997  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * aclocal.m4 (COMMON_MAKEFILE_FRAG):  Quote a couple of $'s in
+       comments and single quotes.  Fixes a problem found on hpux.
+
 Thu Jan 23 13:35:03 1997  Stu Grossman  (grossman@critters.cygnus.com)
 
        * aclocal.m4:  Remove Make-common.in from dependencies.