+2016-01-03 Mike Frysinger <vapier@gentoo.org>
+
+ * nrun.c (myname): Mark const.
+ (main): Mark name const. Replace myname parsing loop with a
+ call to lbasename.
+
+2016-01-03 Mike Frysinger <vapier@gentoo.org>
+
+ (CONFIG_CFLAGS): Delte $(SIM_HOSTENDIAN).
+ * acinclude.m4 (SIM_AC_COMMON): Call AC_C_BIGENDIAN.
+ (SIM_AC_OPTION_HOSTENDIAN): Delete.
+ * config.in, configure: Regenerate.
+ * Make-common.in (SIM_HOSTENDIAN): Delete.
+ * sim-config.c (current_host_byte_order): Delete.
+ (sim_config): Delete current_host_byte_order assignments and
+ CURRENT_HOST_BYTE_ORDER checks.
+ (print_sim_config): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
+ * sim-config.h (WITH_HOST_BYTE_ORDER): Change to ...
+ (HOST_BYTE_ORDER): ... this. Define based on WORDS_BIGENDIAN.
+ (current_host_byte_order): Delete.
+ (CURRENT_HOST_BYTE_ORDER): Likewise.
+ * sim-endian.c (WITH_HOST_BYTE_ORDER): Rename to ...
+ (HOST_BYTE_ORDER): ... this.
+ (sim_endian_split_16): Change WITH_HOST_BYTE_ORDER to
+ HOST_BYTE_ORDER.
+ (sim_endian_join_16): Likewise.
+ * sim-n-core.h (sim_core_read_misaligned_N): Change
+ CURRENT_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
+ (sim_core_write_misaligned_N): Likewise.
+ * sim-n-endian.h (endian_t2h_N): Likewise.
+ (endian_h2t_N, endian_h2be_N, endian_be2h_N, endian_h2le_N,
+ endian_le2h_N): Likewise.
+ (offset_N): Change WITH_HOST_BYTE_ORDER to HOST_BYTE_ORDER.
+
+2016-01-02 Mike Frysinger <vapier@gentoo.org>
+
+ * acinclude.m4 (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to
+ BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
+ BFD_ENDIAN_UNKNOWN.
+ (SIM_AC_OPTION_HOSTENDIAN): Likewise.
+ * cgen-ops.h (SUBWORDXFSI): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
+ (SUBWORDTFSI, JOINSIDF, JOINSIXF, JOINSITF): Likewise.
+ * nrun.c (main): Likewise.
+ * sim-config.c (current_host_byte_order): Change type to enum
+ bfd_endian. Initialize to BFD_ENDIAN_UNKNOWN.
+ (current_target_byte_order): Likewise.
+ (config_byte_order_to_a): Likewise. Change BIG_ENDIAN to
+ BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
+ BFD_ENDIAN_UNKNOWN.
+ (sim_config): Change prefered_target_byte_order type to enum
+ bfd_endian. Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
+ to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
+ * sim-config.h: Change BIG_ENDIAN to BFD_ENDIAN_BIG, LITTLE_ENDIAN
+ to BFD_ENDIAN_LITTLE, and 0 to BFD_ENDIAN_UNKNOWN.
+ Delete all the various arch/OS endian includes & defines.
+ (current_host_byte_order): Change type to enum bfd_endian.
+ (current_target_byte_order): Likewise.
+ (CURRENT_HOST_BYTE_ORDER): Compare to BFD_ENDIAN_UNKNOWN, not 0.
+ (CURRENT_TARGET_BYTE_ORDER): Likewise.
+ * sim-endian.c: Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
+ * sim-events.c (sim_events_watch_sim): Change BIG_ENDIAN to
+ BFD_ENDIAN_BIG, LITTLE_ENDIAN to BFD_ENDIAN_LITTLE, and 0 to
+ BFD_ENDIAN_UNKNOWN.
+ (sim_events_watch_core): Likewise.
+ * sim-events.h: Likewise.
+ * sim-n-core.h (sim_core_read_misaligned_N): Change BIG_ENDIAN to
+ BFD_ENDIAN_BIG.
+ (sim_core_write_misaligned_N): Likewise.
+ * sim-n-endian.h (endian_h2be_N): Likewise.
+ (endian_be2h_N): Likewise.
+ (endian_h2le_N): Change LITTLE_ENDIAN to BFD_ENDIAN_LITTLE.
+ (offset_N): Likewise.
+ * sim-options.c (standard_option_handler): Change LITTLE_ENDIAN to
+ BFD_ENDIAN_LITTLE and BIG_ENDIAN to BFD_ENDIAN_BIG.
+
+2016-01-02 Mike Frysinger <vapier@gentoo.org>
+
+ * cgen-defs.h (current_state): Delete.
+ * sim-base.h (CURRENT_STATE_REG, CURRENT_STATE): Delete.
+ * sim-utils.c (current_state): Delete.
+
+2015-12-30 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-module.c (sim_pre_argv_init): Change STATE_MY_NAME assignment
+ to use lbasename.
+