aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-22 09:34:28 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-22 09:34:28 +0000
commit8d332f9c1ac901f6ce879a0ae2718fb720afc672 (patch)
treeb820b3c02a0e603d393f5394e01bba5be62132f6
parent4ca7d6d25b8020a15edf366aeb0fa9b3ac636e2b (diff)
downloadgdb-8d332f9c1ac901f6ce879a0ae2718fb720afc672.zip
gdb-8d332f9c1ac901f6ce879a0ae2718fb720afc672.tar.gz
gdb-8d332f9c1ac901f6ce879a0ae2718fb720afc672.tar.bz2
Enable --alignment option, stop sim-options.c hardwiring the alignment.
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/v850/ChangeLog1
-rwxr-xr-xsim/v850/configure4
-rw-r--r--sim/v850/configure.in2
4 files changed, 8 insertions, 3 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index a2eb578..c896359 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
+ * sim-config.h (WITH_DEFAULT_ALIGNMENT): Don't hardwire any alignment.
+
+ * sim-options.c (standard_option_handler): Typo in warning message.
+
* sim-base.h (STATE_MODEL): Make conditional on SIM_HAVE_MODEL.
* sim-profile.c (profile_print_insn): Check 0 .. MAX_INSN for any
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index ebc009f..95ad6a2 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,6 +1,7 @@
Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
+ * configure.in: Really specify NONSTRICT_ALIGNMENT as the default.
Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
diff --git a/sim/v850/configure b/sim/v850/configure
index cdb603f..a1eda84 100755
--- a/sim/v850/configure
+++ b/sim/v850/configure
@@ -1329,8 +1329,8 @@ else
fi
-wire_alignment="NONSTRICT_ALIGNMENT"
-default_alignment=""
+wire_alignment=""
+default_alignment="NONSTRICT_ALIGNMENT"
# Check whether --enable-sim-alignment or --disable-sim-alignment was given.
if test "${enable_sim_alignment+set}" = set; then
diff --git a/sim/v850/configure.in b/sim/v850/configure.in
index 0a74c5c..dfa4f02 100644
--- a/sim/v850/configure.in
+++ b/sim/v850/configure.in
@@ -6,7 +6,7 @@ AC_INIT(Makefile.in)
SIM_AC_COMMON
SIM_AC_OPTION_ENDIAN(LITTLE_ENDIAN)
-SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
+SIM_AC_OPTION_ALIGNMENT(,NONSTRICT_ALIGNMENT)
SIM_AC_OPTION_HOSTENDIAN
SIM_AC_OPTION_WARNINGS
SIM_AC_OPTION_RESERVED_BITS