This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] sim: m68hc11: fix default endian [committed]


The previous commit here set the default to little instead of big.
A typo lost when reviewing the different targets in parallel.
---
 sim/m68hc11/ChangeLog    | 5 +++++
 sim/m68hc11/configure    | 2 +-
 sim/m68hc11/configure.ac | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index ee8263e..1df6810 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,5 +1,10 @@
 2015-12-30  Mike Frysinger  <vapier@gentoo.org>
 
+	* configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN.
+	* configure: Regenerate.
+
+2015-12-30  Mike Frysinger  <vapier@gentoo.org>
+
 	* imterp.c (sim_open): Delete current_alignment and
 	current_target_byte_order assignments.
 	* configure.ac: Call SIM_AC_OPTION_ENDIAN.
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index d7926d6..3a277d1 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -12955,7 +12955,7 @@ fi
 fi
 
 
-wire_endian="LITTLE_ENDIAN"
+wire_endian="BIG_ENDIAN"
 default_endian=""
 # Check whether --enable-sim-endian was given.
 if test "${enable_sim_endian+set}" = set; then :
diff --git a/sim/m68hc11/configure.ac b/sim/m68hc11/configure.ac
index a368b0c..cbfe9e8 100644
--- a/sim/m68hc11/configure.ac
+++ b/sim/m68hc11/configure.ac
@@ -7,7 +7,7 @@ SIM_AC_COMMON
 
 dnl Options available in this module
 SIM_AC_OPTION_INLINE()
-SIM_AC_OPTION_ENDIAN(LITTLE_ENDIAN)
+SIM_AC_OPTION_ENDIAN(BIG_ENDIAN)
 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
 SIM_AC_OPTION_HOSTENDIAN
 SIM_AC_OPTION_WARNINGS
-- 
2.6.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]