projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fed43a
)
* sparc-tdep.c (sparc_target_architecture_hook): Set target
author
Mark Alexander
<marka@cygnus>
Wed, 3 Jun 1998 02:08:06 +0000
(
02:08
+0000)
committer
Mark Alexander
<marka@cygnus>
Wed, 3 Jun 1998 02:08:06 +0000
(
02:08
+0000)
byte order only when it's selectable.
gdb/ChangeLog
patch
|
blob
|
history
gdb/sparc-tdep.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index f7732d463d8831e5a2198e668fff320d99bace75..b2e64b2eb7a01524b3f9424eff68dd3dfd5b3971 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+Tue Jun 2 19:05:04 1998 Mark Alexander <marka@cygnus.com>
+
+ * sparc-tdep.c (sparc_target_architecture_hook): Set target
+ byte order only when it's selectable.
+
Tue Jun 2 02:01:56 1998 Mark Alexander <marka@cygnus.com>
* sparc-tdep.c (sparc_target_architecture_hook): New function to
diff --git
a/gdb/sparc-tdep.c
b/gdb/sparc-tdep.c
index 25d92cf5d4d1c58d79388beb3b27c8046bf963e3..2ea0c1b3da540b00f775aea9b6b1682e1cf05f7c 100644
(file)
--- a/
gdb/sparc-tdep.c
+++ b/
gdb/sparc-tdep.c
@@
-1872,8
+1872,10
@@
sparc_target_architecture_hook (ap)
{
int i, j;
+#ifdef TARGET_BYTE_ORDER_SELECTABLE
if (ap->mach == bfd_mach_sparc_sparclite_le)
target_byte_order = LITTLE_ENDIAN;
+#endif
return 1;
}